Commit Graph

3725 Commits

Author SHA1 Message Date
Alex Roitman
2b16d0f35d * src/GrampsDb/_GrampsBSDDB.py (commit_base): Rename method.
svn: r8667
2007-06-25 16:22:38 +00:00
Alex Roitman
47bd113d2d 2007-06-25 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsDBDir.py (commit_base): Rename method.
	* src/GrampsDb/_GrampsDbBase.py: Rename __commit_base into commit
	base: caused problems with python2.4 scoping.



svn: r8665
2007-06-25 16:10:10 +00:00
Alex Roitman
5d85545e79 2007-06-24 Alex Roitman <shura@gramps-project.org>
* src/NameDisplay.py (_gen_cooked_func,_gen_raw_func): Do not
	replace %% with anything.



svn: r8663
2007-06-25 05:31:53 +00:00
Don Allingham
c0737ebfe3 2007-06-24 Don Allingham <don@gramps-project.org>
* configure.in: add files
	* src/DataViews/_RelationView.py: fix translation argument
	* src/RelLib/Makefile.am: Add missing files
	* src/plugins/Makefile.am: Add missing files
	* src/DbManager.py: fix translation argument
	* src/Utils.py: fix translation argument
	* src/Filters/Rules/Person/Makefile.am: Add missing files
	* src/Makefile.am: Add missing files



svn: r8661
2007-06-25 04:57:53 +00:00
Alex Roitman
863a701d63 2007-06-24 Alex Roitman <shura@gramps-project.org>
* src/plugins/ReadGrdb.py (importData): Rework to upgrade and
	import a copy of grdb file, leaving the original file untouched.
	* src/GrampsDb/_GrampsBSDDB.py (make_env_name): Add method to
	determine the environment name.



svn: r8660
2007-06-25 03:35:48 +00:00
Brian Matherly
3bec863693 Fix non-text report styles in book reports.
svn: r8659
2007-06-25 03:02:45 +00:00
Brian Matherly
5e06472c14 Handle unicode names for saved book reports.
svn: r8658
2007-06-25 02:39:21 +00:00
Alex Roitman
d5f5b3a602 (version_supported): Default to the current version.
svn: r8656
2007-06-25 01:46:37 +00:00
Brian Matherly
5a9535b7d1 Remove fill color to improve the fanchart display in OpenOfficeDoc format (#0001072)
svn: r8654
2007-06-24 21:20:42 +00:00
Brian Matherly
343673f696 Fix rotated text location and remove background color to improve the fanchart display in ODF format (#0001072)
svn: r8652
2007-06-24 21:00:25 +00:00
Alex Roitman
f93fef3422 2007-06-24 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (load): Typo.
	* src/DbLoader.py (read_file): Fix error reporting.



svn: r8650
2007-06-24 20:03:40 +00:00
Don Allingham
e978a43d3a * src/LdsUtils.py: switch to parsing an external XML file instead of
hard coded values
	* src/data/lds.xml: new file
	* src/data/Makefile.am: handle new lds.xml
	* src/Editors/_EditLdsOrd.py: handle new LDS temple scheme
	* src/GrampsDbUtils/_GedcomParse.py: handle new LDS temple scheme
	* DisplayTabs/_LdsModel.py: handle new LDS temple scheme

2007-06-23  Don Allingham  <don@gramps-project.org>


svn: r8648
2007-06-24 04:32:54 +00:00
Alex Roitman
e8c8245c05 In .:
2007-06-23  Alex Roitman  <shura@gramps-project.org>
	* src/plugins/RemoveUnused.py: Rewrite with single-dialog UI.
	* src/plugins/unused.glade: Add new file.
	* src/plugins/Makefile.am: Ship new file.

In po:
	* POTFILES.in: Add new files.


svn: r8646
2007-06-24 01:26:48 +00:00
Don Allingham
4c34914b6f 2007-06-23 Don Allingham <don@gramps-project.org>
* src/Editors/_EditUrl.py: add jump button
	* src/DisplayTabs/_WebEmbedList.py: add jump button
	* src/DisplayTabs/_EmbeddedList.py: add jump button
	* src/DisplayTabs/_BackRefList.py: add jump button
	* src/DisplayTabs/_ButtonTab.py: add jump button
	* src/glade/gramps.glade: add jump button



svn: r8643
2007-06-23 23:34:40 +00:00
Brian Matherly
844e1966c5 Add "People missing parent" filter.
svn: r8638
2007-06-23 15:59:51 +00:00
Brian Matherly
bee9c3319c src/ReportBase/_ReportDialog.py: Fix attribute error exceptions.
svn: r8636
2007-06-23 14:28:13 +00:00
Don Allingham
9fc7370400 2007-06-22 Don Allingham <don@gramps-project.org>
* src/DbManager.py: pylint fixes
	* src/glade/gramps.glade: widen with DbManager window



svn: r8634
2007-06-23 04:31:05 +00:00
Brian Matherly
7edd3be9c3 0001016: [narrative website] Why is the mime type shown on each image page
svn: r8633
2007-06-23 03:02:22 +00:00
Alex Roitman
1060e56243 2007-06-22 Alex Roitman <shura@phy.ucsf.edu>
* src/GrampsDb/_GrampsGEDDB.py (close): Save after batch 
	transactions: #862.
	* src/GrampsDb/_GrampsXMLDB.py (close): Save after batch
	transactions: #862.



svn: r8630
2007-06-23 01:33:12 +00:00
Alex Roitman
dbdf2a2889 Update
svn: r8627
2007-06-22 17:42:43 +00:00
Brian Matherly
da83135ac2 src/ReportBase/_ReportDialog.py: Still let REAL exceptions pass through.
svn: r8626
2007-06-22 13:19:52 +00:00
Brian Matherly
336cd588e6 0001055: Pictures of the gallery are not used in the detailed ancestor's report when output format is PDF
svn: r8625
2007-06-22 13:18:49 +00:00
Alex Roitman
c70a3c2852 * src/DbManager.py (__rcs): Typo; (find_revisions): Use local
time; (__selection_changed, __rcs): Change label.


svn: r8618
2007-06-21 05:59:19 +00:00
Don Allingham
dfa46b7af4 2007-06-20 Don Allingham <don@gramps-project.org>
* src/DbManager.py: Catch the icons properly
	* src/GrampsDb/_GrampsDBDir.py: catch error on lock file deletion



svn: r8617
2007-06-21 04:55:26 +00:00
Alex Roitman
3f062375f5 * src/DbManager.py (__rcs): Typo.
svn: r8616
2007-06-21 02:18:22 +00:00
Alex Roitman
524e21ceba 2007-06-20 Alex Roitman <shura@gramps-project.org>
* src/Config/_GrampsConfigKeys.py: Correctly regenerate.



svn: r8615
2007-06-21 02:04:13 +00:00
Don Allingham
dc360924e6 2007-06-20 Don Allingham <don@gramps-project.org>
* src/DbManager.py: Handle more advanced RCS commands, such as
	rename revisions, checking out a new revision, and breaking locks
	* src/glade/gramps.glade: fix window positioning



svn: r8614
2007-06-20 23:36:09 +00:00
Alex Roitman
f5c87ae46a 2007-06-20 Alex Roitman <shura@gramps-project.org>
* src/Filters/Rules/Person/_RelationshipPathBetween.py
	(apply_filter): Object/handle mixup, #1090.



svn: r8613
2007-06-20 19:21:26 +00:00
Alex Roitman
72b74e4ae2 checking even if it is identical; fix -t option;
(find_revisions): get the date from rlog;
	(__populate): Use date and comment, not rcs version numbers.
	(__button_press): Fix double-click handling.


svn: r8610
2007-06-20 06:37:09 +00:00
Alex Roitman
239f7e8450 * data/grampsxml.dtd: Typo.
svn: r8609
2007-06-20 05:55:57 +00:00
Alex Roitman
05bd94983f Update
svn: r8608
2007-06-20 04:53:58 +00:00
Alex Roitman
ede07988fa 2007-06-19 Alex Roitman <shura@gramps-project.org>
* src/DbManager.py (check_in): Add -f option to ci to force
	checking even if it is identical.

2007-06-19  Alex Roitman  <shura@gramps-project.org>


svn: r8607
2007-06-20 04:53:30 +00:00
Don Allingham
5217058733 2007-06-19 Don Allingham <don@gramps-project.org>
* src/DbManager.py: handle RCS init properly, don't use gziped files
	* src/GrampsDbUtils/_WriteXML.py: pass compress argument properly

2007-06-19  Don Allingham  <don@gramps-project.org>
	* src/DbManager.py: parse comment for display in list
	* src/glade/gramps.glade: fix names of buttons on dbmanager



svn: r8606
2007-06-20 04:44:32 +00:00
Alex Roitman
542bbd9404 2007-06-19 Alex Roitman <shura@phy.ucsf.edu>
* src/FilterEditor/_FilterEditor.py (_find_dependent_filters):
	Add method to first find all filters fo deletion.



svn: r8603
2007-06-20 01:44:26 +00:00
Alex Roitman
8278778e65 2007-06-19 Alex Roitman <shura@gramps-project.org>
* src/FilterEditor/_FilterEditor.py (_do_delete_filter): Use a
	copy for iteration over the filters.



svn: r8597
2007-06-19 17:09:20 +00:00
Brian Matherly
5d4434fda0 Fix death source references in DDR and DAR.
svn: r8590
2007-06-19 04:32:06 +00:00
Brian Matherly
04a41cb464 * src/DbManager.py: make path recursive. Make default db dir consistent.
svn: r8589
2007-06-19 04:27:32 +00:00
Don Allingham
3ec91e149b * src/GrampsDb/_GrampsDBDir.py: revision control check in
* src/DbManager.py: revision control check in
	* src/glade/gramps.glade: revision control check in

2007-06-18  Don Allingham  <don@gramps-project.org>


svn: r8588
2007-06-19 03:59:10 +00:00
Don Allingham
3c84f349af * src/DbManager.py: check for revisions
2007-06-18  Don Allingham  <don@gramps-project.org>


svn: r8585
2007-06-18 23:04:05 +00:00
Don Allingham
b5ce4a2c59 2007-06-18 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDBDir.py: support lock file
	* src/DbManager.py: display locked file message



svn: r8584
2007-06-18 19:33:52 +00:00
Alex Roitman
cf52ebb90d 2007-06-18 Alex Roitman <shura@gramps-project.org>
* src/DateEdit.py (DateEditorDialog.switch_calendar): Only convert
	non-empty dates to new calendar.



svn: r8583
2007-06-18 18:33:28 +00:00
Alex Roitman
602d25b015 * src/GrampsCfg.py (NameFormatEditDlg.cb_format_changed): Catch
exception when format string is invalid.


svn: r8581
2007-06-18 05:00:51 +00:00
Alex Roitman
f3aa84f9dc 2007-06-17 Alex Roitman <shura@gramps-project.org>
* src/plugins/Verify.py: Clarification in wording: #1071.



svn: r8574
2007-06-18 00:51:04 +00:00
Don Allingham
493dfd0aae 2007-06-16 Don Allingham <don@gramps-project.org>
* src/DbManager.py: add user sorting to manager lists



svn: r8570
2007-06-17 03:09:26 +00:00
Don Allingham
7da9ba3e6a * src/GrampsDb/_GrampsDbBase.py: fix typo
* src/GrampsDb/_GrampsDBDir.py: check for writability, otherwise open as readonly
	* src/DbManager.py: use single, user configurable database path
	* data/gramps.schemas.in: set default path to ~/.gramps/grampsdb
	
2007-06-16  Don Allingham  <don@gramps-project.org>


svn: r8566
2007-06-17 00:57:21 +00:00
Alex Roitman
10430f3321 2007-06-16 Alex Roitman <shura@gramps-project.org>
* src/GrampsDbUtils/_ReadXML.py (start_url): Correctly parse url type.



svn: r8565
2007-06-17 00:47:33 +00:00
Don Allingham
9059ddedec 2007-06-16 Don Allingham <don@gramps-project.org>
* src/GrampsCfg.py: additional database path
	* src/Config/_GrampsConfigKeys.py: additional database path
	* src/DbManager.py: additional database path
	* src/GrampsDbUtils/Makefile.am: additional database path
	* src/Makefile.am: additional database path
	* data/gramps.schemas.in: additional database path



svn: r8563
2007-06-16 23:17:29 +00:00
Alex Roitman
7bc7631d25 2007-06-16 Brian Pepple <bpepple@fedoraproject.org>
* data/gramps.desktop.in: Fix desktop file to conform to desktop
	file specs.



svn: r8562
2007-06-16 20:17:05 +00:00
Alex Roitman
5c5921d9ea 2007-06-16 Alex Roitman <shura@gramps-project.org>
* src/Filters/Rules/Person/_IsChildOfFilterMatch.py
	(IsChildOfFilterMatch): Subclass MatchesFilter.
	* src/Filters/Rules/Person/_IsAncestorOfFilterMatch.py
	(IsAncestorOfFilterMatch): Subclass MatchesFilter.
	* src/Filters/Rules/Person/_IsDescendantOfFilterMatch.py
	(IsDescendantOfFilterMatch): Subclass MatchesFilter.
	* src/Filters/Rules/Person/_HasCommonAncestorWithFilterMatch.py
	(HasCommonAncestorWithFilterMatch): Subclass MatchesFilter.
	* src/Filters/Rules/Person/_IsParentOfFilterMatch.py
	(IsParentOfFilterMatch): Subclass MatchesFilter.
	* src/Filters/Rules/Person/_IsSiblingOfFilterMatch.py
	(IsSiblingOfFilterMatch): Subclass MatchesFilter.
	* src/Filters/Rules/Person/_IsSpouseOfFilterMatch.py
	(IsSpouseOfFilterMatch): Subclass MatchesFilter.



svn: r8560
2007-06-16 20:03:59 +00:00
Don Allingham
e9860079c3 2007-06-15 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_Backup.py: Optimization and documentation.



svn: r8557
2007-06-16 04:23:47 +00:00
Alex Roitman
b5f51cf15f 2007-06-14 Alex Roitman <shura@gramps-project.org>
* src/GrampsDbUtils/_Backup.py (__do_restore): Minor optimization.
	* src/GrampsDb/_GrampsDbBase.py (__get_from_handle): Pass txn.



svn: r8555
2007-06-15 05:47:07 +00:00
Don Allingham
2caf3dd35a 2007-06-14 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_Backup.py (__do_restore): use transactions during restore



svn: r8554
2007-06-15 04:35:59 +00:00
Brian Matherly
eb5135310f Improve text rendering for SVG reports (#0001072).
svn: r8553
2007-06-15 04:07:41 +00:00
Alex Roitman
b38a741d3d * src/ViewManager.py: Enable recent files.
* src/DisplayState.py (RecentDocsMenu.load): work out directories;
	(RecentDocsMenu.build): Use symbolic names for menu.
	* src/RecentFiles.py: Make work with directories and symbolic
	names; remove GNOME-related functionality.


svn: r8550
2007-06-14 05:32:06 +00:00
Alex Roitman
012374cff5 2007-06-13 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsDBDir.py (open_undodb): Override the base
	method by using undo.db inside the data directory.



svn: r8549
2007-06-14 04:36:31 +00:00
Don Allingham
9b8759a25b * src/GrampsDbUtils/_Backup.py (__do_export): check for existance before deleting
2007-06-13  Don Allingham  <don@gramps-project.org>


svn: r8548
2007-06-14 04:26:46 +00:00
Don Allingham
06d9588736 * src/DbManager.py: handle cursor while rebuilding
* src/glade/gramps.glade: fix label placement

2007-06-13  Don Allingham  <don@gramps-project.org>


svn: r8547
2007-06-14 04:20:44 +00:00
Don Allingham
76e590472f 2007-06-13 Don Allingham <don@gramps-project.org>
* src/DbManager.py: handle broken dbs that have been opened
	* src/DbState.py: handle broken dbs that have been opened
	* src/GrampsDbUtils/_Backup.py: write intermediate file firs to make
	sure no errors occur when writing, then replace old backups

	* src/ViewManager.py: better rebuild recovery
	* src/GrampsDb/_GrampsDbConst.py: better rebuild recovery
	* src/GrampsDb/_GrampsDBCallback.py: better rebuild recovery
	* src/DbManager.py: better rebuild recovery
	* src/glade/gramps.glade: better rebuild recovery
	* src/const.py.in: better rebuild recovery
	* src/QuestionDialog.py: better rebuild recovery
	* src/GrampsDbUtils/_ReadGedcom.py: better rebuild recovery
	* src/ArgHandler.py: better rebuild recovery
	* src/DbLoader.py: better rebuild recovery

2007-06-12  Don Allingham  <don@gramps-project.org>


svn: r8546
2007-06-13 22:48:28 +00:00
Brian Matherly
5bd7f917c8 Improve tooltip for latin-1 option in the Relationship Graph report.
svn: r8543
2007-06-13 11:53:06 +00:00
Brian Matherly
165cebcd68 Fix width error AbiWord2Doc.py.
svn: r8542
2007-06-13 04:27:33 +00:00
Brian Matherly
dae8c99230 Enhance source endnotes in some text reports.
svn: r8541
2007-06-13 04:13:00 +00:00
Don Allingham
c730a8f5c4 2007-06-12 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: detection and recovery from db errors
	* src/GrampsDb/_GrampsDBDir.py: detection and recovery from db errors
	* src/GrampsDb/_GrampsBSDDB.py: detection and recovery from db errors
	* src/DbManager.py: detection and recovery from db errors
	* src/DbState.py: detection and recovery from db errors
	* src/ArgHandler.py: detection and recovery from db errors



svn: r8539
2007-06-12 23:31:40 +00:00
Don Allingham
e05e6b4edd 2007-06-11 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: Improve backup strategy
	* src/GrampsDb/_GrampsDBDir.py: Improve backup strategy
	* src/DbManager.py: Improve backup strategy
	* src/glade/gramps.glade: Improve backup strategy
	* src/Errors.py: Improve backup strategy
	* src/GrampsDbUtils/_Backup.py: Improve backup strategy



svn: r8538
2007-06-12 04:29:15 +00:00
Alex Roitman
6bf09da13d 2007-06-06 Alex Roitman <shura@gramps-project.org>
* src/DisplayState.py (DisplayState.__signals__): Port fixes from
	2.2 tree. 
	* src/FilterEditor/_EditFilter.py: Port fixes from 2.2 tree.
	* src/FilterEditor/_FilterEditor.py: Port fixes from 2.2 tree.
	* data/grampsxml.rng: Port fixes from 2.2 tree.
	* data/grampsxml.dtd: Port fixes from 2.2 tree.
	* src/GrampsDb/_GrampsDbWriteXML.py (_xml_version): Bump up version.



svn: r8536
2007-06-07 05:06:14 +00:00
Don Allingham
033df090d3 * src/GrampsDb/_GrampsBSDDB.py: fix __ issue
svn: r8533
2007-06-04 02:59:36 +00:00
Don Allingham
b58adad1bb * src/GrampsDb/_GrampsCursor.py: added
svn: r8532
2007-06-04 02:52:49 +00:00
Don Allingham
2615728437 2007-06-03 Don Allingham <don@gramps-project.org>
* src/Simple/__init__.py: add



svn: r8531
2007-06-04 02:49:31 +00:00
Alex Roitman
a9791011c3 2007-06-01 Alex Roitman <shura@gramps-project.org>
* src/DbLoader.py (_OPEN_FORMATS): Remove grdb from the native
	format list.
	* src/GrampsDbUtils/_GrampsDbWRFactories.py
	(gramps_db_reader_factory):  remove grdb read from the factories,
	it is a plugin now.
	* src/plugins/ReadGrdb.py: Register import; made module a plugin.



svn: r8530
2007-06-02 05:51:39 +00:00
Brian Matherly
b022218241 changelog formatting
svn: r8529
2007-06-02 04:26:56 +00:00
Brian Matherly
d9ad05dfb8 proper changelog format
svn: r8528
2007-06-02 04:19:51 +00:00
Brian Matherly
9cd009102e Fix title error HtmlDoc.py.
svn: r8527
2007-06-02 04:10:37 +00:00
Don Allingham
fafacb096f 2007-05-24 Don Allingham <don@gramps-project.org>
* src/Simple/Makefile.am: added
	* src/DataViews/_PedigreeView.py: catch loop in relationships, 
	indicated by a recursion limit exception.



svn: r8517
2007-05-25 03:50:01 +00:00
Don Allingham
fe0e24310b * configure.in: update Simple/Makefile
* src/Simple/_SimpleAccess.py: Move to Simple package
	* src/Simple/_SimpleDoc.py: Move to Simple package
	* src/Makefile.am: Move to Simple package
	* src/DataViews/_PersonView.py: Simple package support
	* src/plugins/all_events.py: Simple package supprt

2007-05-20  Don Allingham  <don@gramps-project.org>


svn: r8502
2007-05-21 04:07:00 +00:00
Don Allingham
263ab79ad9 2007-05-20 Don Allingham <don@gramps-project.org>
* src/Lru.py: pylint fixes
	* src/DisplayState.py: pylint fixes
	* src/Errors.py: pylint fixes
	* src/DbState.py: pylint fixes



svn: r8501
2007-05-21 03:44:18 +00:00
Don Allingham
a598df4f6d * src/Bookmarks.py: pylint fixes
* src/ColumnOrder.py: pylint fixes
	* src/DateEdit.py: pylint fixes
	* src/DbLoader.py: pylint fixes
	* src/ManagedWindow.py: pylint fixes

2007-05-19  Don Allingham  <don@gramps-project.org>


svn: r8498
2007-05-20 04:35:46 +00:00
Don Allingham
659814e22d 2007-05-19 Don Allingham <don@gramps-project.org>
* src/AutoComp.py: removal of unused functions
	* src/BaseDoc.py: clean up and add documentation



svn: r8497
2007-05-20 03:43:38 +00:00
Brian Matherly
6ecc393988 Fix gallery image links generated on Win32 for the Narrative Web Report.
svn: r8494
2007-05-18 18:45:49 +00:00
Brian Matherly
53c0a7443e Remove Gnome dependencies from all glade files.
svn: r8484
2007-05-17 02:43:11 +00:00
Brian Matherly
ab912fa605 0000806: default for narrative website should be protect living
svn: r8483
2007-05-17 02:34:05 +00:00
Brian Matherly
c020882e40 0001043: Dropdown list in htmloptions in Family Group Report has very large size
svn: r8479
2007-05-16 02:09:04 +00:00
Brian Matherly
ada7cb037d Sort strings, not lists in Narrative Web combo boxes.
svn: r8477
2007-05-15 12:01:25 +00:00
Brian Matherly
26ef497eaa Catch possible crash in Pedigree View.
svn: r8475
2007-05-15 11:40:25 +00:00
Don Allingham
247e0020ed 2007-05-14 Don Allingham <don@gramps-project.org>
* src/DataViews/_PedigreeView.py: catch errors
	* src/DataViews/_RelationView.py: catch errors
	* src/ReportBase/_ReportDialog.py: catch errors
	* src/ReportBase/_SimpleAccess.py: fix marriage place/date values
	* src/Editors/_EditFamily.py: catch errors
	* src/DisplayTabs/_EmbeddedList.py: catch errors
	* src/plugins/FindDupes.py: catch errors
	* src/plugins/Verify.py: catch errors
	* src/AddMedia.py: fix scale_simple types
	* src/AutoComp.py: pylint fixes
	* src/ImgManip.py: pylint fixes
	* src/LdsUtils.py: new temple types
	* src/DbLoader.py: error types



svn: r8473
2007-05-15 04:17:12 +00:00
Brian Matherly
4f675b6768 0001044: ReportWeb Site, tab Page Generation - items in dropdown list do not sort correctly
svn: r8472
2007-05-15 03:55:08 +00:00
Brian Matherly
48394f8bab * src/plugins/NarrativeWeb.py: Fix reference paths on Windows.
svn: r8467
2007-05-14 03:44:34 +00:00
Benny Malengier
04df3f6e89 2007-05-11 Benny Malengier <bm@cage.ugent.be>
* src/GrampsDbUtils/_ReadXML.py:
	* src/GrampsDb/_GrampsDbWriteXML.py:
        Merge gramps2 privacy changes of Don, add privacy to note of sourceref and lds_ord

	* src/GrampsDbUtils/_ReadXML.py: partly fix #1053, import privacy of person, family,


svn: r8463
2007-05-11 22:31:39 +00:00
Benny Malengier
11190e66d9 2007-05-10 Benny Malengier <bm@cage.ugent.be>
* src/GrampsDb/_ReadXML.py: partly fix #1053, import privacy of person, family,
        media, source, place and repo correct. Still to do: sourceref and lds_ordinance



svn: r8459
2007-05-10 22:07:25 +00:00
Don Allingham
f8b10aff87 2007-05-08 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py (GrampsDbBookmarks.insert): fix
	bookmark insertion (#1050)
	* src/Editors/_EditFamily.py: fix sort columns



svn: r8454
2007-05-10 02:43:56 +00:00
Benny Malengier
5b4807732d 2007-05-09 Benny Malengier <bm@cage.ugent.be>
* src/glade/gramps.glade: fix #797
	* src/glade/gramps.glade: fix #796
	* src/GrampsDbUtils/_ReadXML.py: Set specific notetype on import/read of pre 2.3 xml, 
          inherit privacy of creating object for pre 2.3 xml as much as possible.



svn: r8453
2007-05-09 19:27:15 +00:00
Brian Matherly
92b3f4da04 Change the default directory for the narrative web report so people don't generate the report in their database directory.
svn: r8448
2007-05-09 03:34:30 +00:00
Don Allingham
7b7abd95dd * src/DataViews/_PersonView.py:
* src/PageView.py:
	* src/Filters/SideBar/_MediaSidebarFilter.py:
	* src/Filters/SideBar/_SidebarFilter.py:
	* src/Filters/SideBar/_SourceSidebarFilter.py:
	* src/Filters/SideBar/_EventSidebarFilter.py:
	* src/Filters/SideBar/_FamilySidebarFilter.py:
	* src/Filters/SideBar/_PlaceSidebarFilter.py:
	* src/Filters/SideBar/_RepoSidebarFilter.py:
	* src/Filters/SideBar/_NoteSidebarFilter.py:
	* src/Filters/SideBar/_PersonSidebarFilter.py: Pass dbstate to SidebarFilters

2007-05-07  Don Allingham  <don@gramps-project.org>


svn: r8444
2007-05-08 04:08:25 +00:00
Don Allingham
87764d64c0 2007-05-07 Don Allingham <don@gramps-project.org>
* src/ReportBase/_SimpleDoc.py: add support for tabs
	* src/BaseDoc.py: add support for tabs	
	* src/docgen/TextBufDoc.py: add support for tabs



svn: r8443
2007-05-08 02:56:33 +00:00
Benny Malengier
c5916814e8 * src/GrampsDb/_GrampsBSDDB.py: upgrade of grdb now sets correct notetype, and
inherits the public/private setting of the parent object it is created from, 
          instead of defaulting to public.

2007-05-07 Benny Malengier <bm@cage.ugent.be>


svn: r8442
2007-05-07 23:02:03 +00:00
Benny Malengier
0182f42307 2007-05-07 Benny Malengier <bm@cage.ugent.be>
* src/Editors/_EditPlace.py:
	* src/Editors/_EditAddress.py:
	* src/Editors/_EditLdsOrd.py:
	* src/Editors/_EditSourceRef.py:
	* src/Editors/_EditSource.py:
	* src/Editors/_EditRepoRef.py:
	* src/Editors/_EditAttribute.py:
	* src/Editors/_EditPersonRef.py:
	* src/Editors/_EditNote.py:
	* src/Editors/_EditPerson.py:
	* src/Editors/_EditMediaRef.py:
	* src/Editors/_EditEventRef.py:
	* src/Editors/_EditMedia.py:
	* src/Editors/_EditRepository.py:
	* src/Editors/_EditName.py:
	* src/Editors/_EditChildRef.py:
	* src/Editors/_EditFamily.py:
	* src/Editors/_EditEvent.py:
	* src/RelLib/_NoteType.py:
	* src/DisplayTabs/_NoteTab.py:
	* src/GrampsWidgets.py:
	* TODO:
	Implement using a specific notetype instead of General for notes created as part of a
        primary or secondary object. Add list of types to ignore for inclusion in MonitoredDataType in a general manner.
        List remaining issues in TODO for multiple notes.



svn: r8441
2007-05-07 20:41:16 +00:00
Don Allingham
6e065c407f 2007-05-06 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: add quick report
	* src/GrampsDb/_GrampsDbBase.py: use NotImplementedError instead of assertion
	* src/ReportBase/_SimpleAccess.py: added functionality
	* src/RelLib/_MediaObject.py: comments
	* src/RelLib/_Person.py: remove @sort comment
	* src/RelLib/_BasicPrimaryObject.py: 
	* src/plugins/all_events.py: comments
	* src/glade/gramps.glade: clean up width
	* src/gramps_main.py: added docgen to the search path
	* src/docgen/TextBufDoc.py: Added interface



svn: r8439
2007-05-07 03:39:46 +00:00
Brian Matherly
be7b8d6c94 Fix generation chart alignment for Narrative Web Tranquil style sheet.
svn: r8438
2007-05-06 21:28:12 +00:00
Brian Matherly
e4a7045838 Convert tabs to space-tabs in LaTeXDoc.py
svn: r8436
2007-05-05 04:01:35 +00:00
Benny Malengier
2209fe1c57 2007-05-03 Benny Malengier <bm@cage.ugent.be>
* src/plugins/rel_de.py:
	issue #0000929 , rel_de.py



svn: r8435
2007-05-03 21:35:13 +00:00
Don Allingham
9fd30ff3f9 2007-05-01 Don Allingham <don@gramps-project.org>
* src/ReportBase/_SimpleAccess.py: simplifed database access routines



svn: r8433
2007-05-02 04:05:41 +00:00
Benny Malengier
37255a3b02 2007-04-30 Benny Malengier <bm@cage.ugent.be>
* src/Editors/_EditPlace.py:
	* src/Editors/_EditSource.py:
	* src/Editors/_EditNote.py:
	* src/Editors/_EditPerson.py:
	* src/Editors/_EditRepository.py:
	* src/Editors/_EditFamily.py:
	* src/DisplayTabs/_NoteTab.py:
	Add meaningfull title to the note dialog instead of only the note number, when called from place, source, person, family or repo



svn: r8432
2007-04-30 20:50:41 +00:00
Brian Matherly
d7423fff15 Divide BaseDoc into BaseDoc, TextDoc and DrawDoc. TextDoc and DrawDoc are abstract interfaces that must be implemented by the corresponding document generators.
svn: r8431
2007-04-30 01:56:34 +00:00
Benny Malengier
6544ab67ad 2007-04-28 Benny Malengier <bm@cage.ugent.be>
* src/images/.../Makefile.am:
	* src/images/Makefile.am:
        * src/DataViews/_RelationView.py:
        * src/MarkupText.py:
        * src/gramps_main.py:
        * src/images/.../gramps-font-color...: 
        * src/images/.../gramps-font-bgcolor...:
        * src/images/.../gramps-parents-open...:
        * src/images/48x48/gramps-parents-add.png:
	New icons for add/share parents, clean up media icon, icons for fonts as asked by Zsolt, delete of no more needed icons  gramps-sharefamily, gramps-media-all. Reflect changes to images to makefiles. Use the new icons.



svn: r8430
2007-04-28 14:25:18 +00:00
Brian Matherly
26bda1fdae Fix errors in bookmark filters.
svn: r8429
2007-04-28 03:55:43 +00:00
Benny Malengier
852696cc5d 2007-04-27 Benny Malengier <bm@cage.ugent.be>
* src/images/22x22/Makefile.am:
	* src/images/16x16/Makefile.am:
	* src/images/48x48/Makefile.am:
	* src/images/scalable/Makefile.am:
	* src/images/Makefile.am:
	Reflect changes to images to makefiles



svn: r8424
2007-04-27 17:42:50 +00:00
Zsolt Foldvari
58cf8fede0 2007-04-27 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/MarkupText.py:
	* src/Editors/_EditNote.py:
	Rewrite of the note markup functionality, also fixes: #1024.



svn: r8422
2007-04-27 00:18:09 +00:00
Brian Matherly
3eebd910d5 Move Graphic Styles, Table Styles and Cell Styles into the StyleSheet class. All report styles are now defined in the "get_default_style()" function.
svn: r8421
2007-04-23 11:46:26 +00:00
Brian Matherly
4708a791a4 Escape still wasn't right in ODFDoc.py. Ancestor and descendant charts were displaying wrong.
svn: r8418
2007-04-22 13:29:05 +00:00
Brian Matherly
c36c05775e 0000970: _IsBookmarked.py causes crash
svn: r8416
2007-04-21 18:58:34 +00:00
Benny Malengier
eeda8e68fe 2007-04-21 Benny Malengier <bm@cage.ugent.be>
* src/Editors/_EditFamily.py : add up down arraw on children list
	* src/DisplayTabs/_EmbeddedList.py : generalize select method for
	up/down movement in list


svn: r8414
2007-04-21 08:09:51 +00:00
Don Allingham
dc2afe8f55 2007-04-20 Don Allingham <don@gramps-project.org>
* src/DisplayModels/_BaseModel.py (BaseModel.add_row_by_handle): 
	if search not defined, do an insert
	* src/GrampsDb/_ReadGedcom.py: fix calendar parsing
	* src/GrampsDb/_WriteGedcom.py: fix calendar generation



svn: r8413
2007-04-21 04:54:28 +00:00
Brian Matherly
1c2514d9b2 PROPERLY escape ampersands in ODFDoc.py
svn: r8406
2007-04-20 03:58:03 +00:00
Martin Hawlisch
5face56141 * src/DisplayModels/_NoteModel.py: colorize using marker
svn: r8404
2007-04-19 12:18:38 +00:00
Benny Malengier
44321f2c89 2007-04-18 Benny Malengier <bm@cage.ugent.be>
* src/DisplayTabs/_EmbeddedList.py
	* src/DisplayTabs/_BackRefList.py
	* src/DisplayTabs/_NoteTab.py
	* src/DisplayTabs/_ButtonTab.py
	Added move up and move down buttons to the EmbeddedList, use them only
	for now in NoteTab



svn: r8402
2007-04-18 21:49:29 +00:00
Brian Matherly
44b6c47171 generate DEFAULT_DIR for databases from const.home_dir
svn: r8400
2007-04-18 11:55:17 +00:00
Don Allingham
6edbffe3a3 2007-04-17 Don Allingham <don@gramps-project.org>
* src/DataViews/_FamilyList.py: add marriage date column
	* src/GrampsDb/_DbUtils.py: add function for finding a marriage event
	* src/DisplayModels/_FamilyModel.py: add marriage date column
	* src/GrampsDbUtils/_GedcomParse.py: handle place form handing
	* src/GrampsDbUtils/_GedcomLex.py: handle place form handing
	* src/GrampsDbUtils/_WriteGedcom.py: handle note list
	* src/docgen/ODFDoc.py: escape special characters



svn: r8398
2007-04-18 02:12:40 +00:00
Benny Malengier
ec251900c5 2007-04-17 Benny Malengier <bm@cage.ugent.be>
* src/images/
       * src/GrampsWidgets.py
       * src/glade/gramps.glade
       * src/glade/edit_person.glade
       * src/DisplayTabs/_NoteTab.py
       Added new icons for lock, unlock, viewmedia, and start using them.
       Removed old lock and view icons.



svn: r8393
2007-04-16 23:07:32 +00:00
Martin Hawlisch
03c01fa4f0 * src/ViewManager.py (create_pages): fix off-by-one error when preselecting last view
svn: r8391
2007-04-16 13:57:03 +00:00
Brian Matherly
a8621d50ea 0001012: Private source and private child references shown in narrative website.
svn: r8385
2007-04-15 19:12:57 +00:00
Brian Matherly
166dfc6e8b 0001017: Insufficient space in pedigree view of narrative website
svn: r8383
2007-04-15 02:22:04 +00:00
Brian Matherly
5ce7b7c539 0001011: XML import loses media objects when media object has no title.
svn: r8380
2007-04-12 11:51:53 +00:00
Brian Matherly
79fd3aaf39 Remove file check from _GrampsIniKeys.py. It is not needed.
svn: r8372
2007-04-09 15:49:24 +00:00
Brian Matherly
8d41368b7f Missing comma in Checkpoint.py.
svn: r8370
2007-04-09 11:42:32 +00:00
Brian Matherly
d731371b7f 0001006: Narrative Web: Media objects missing title (description), mime_type, or path, are displayed poorly.
svn: r8366
2007-04-09 03:40:11 +00:00
Don Allingham
6303d781c4 2007-04-08 Don Allingham <don@gramps-project.org>
* src/DisplayState.py (DisplayState.__init__): allocate 15 spaces for match label



svn: r8364
2007-04-09 03:01:14 +00:00
Brian Matherly
1f6f8565ba 0000896: Crash running Narrative Web report - system memory exhausted.
svn: r8363
2007-04-08 20:19:14 +00:00
Don Allingham
a712445a2b 2007-04-07 Don Allingham <don@gramps-project.org>
* src/plugins/Checkpoint.py: update from 2.2
	* src/GrampsDb/_GrampsDbWriteXML.py: clean up
	* src/Editors/_EditPrimary.py: prevent double OK clicks
	* src/Editors/_EditPlace.py: prevent double OK clicks
	* src/Editors/_EditSource.py: prevent double OK clicks
	* src/Editors/_EditPerson.py: prevent double OK clicks
	* src/Editors/_EditRepository.py: prevent double OK clicks
	* src/Editors/_EditFamily.py: prevent double OK clicks
	* src/Editors/_EditEvent.py: prevent double OK clicks



svn: r8361
2007-04-08 04:24:38 +00:00
Brian Matherly
00632c6a70 0000998: Source Ref link refers to nothing in Narrative web report.
svn: r8358
2007-04-06 02:42:52 +00:00
Brian Matherly
ea9b663908 0000996: Individual attributes do no include source reference citations in Narrative Web report.
svn: r8356
2007-04-05 12:13:33 +00:00
Brian Matherly
ab25044a7e 0000993: Checkpoint tool crashes in Windows
svn: r8353
2007-04-05 02:58:54 +00:00
Zsolt Foldvari
44cd99f74d 2007-04-04 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/GrampsWidgets.py (Statusbar): min width given in #chars;
	right alignment of a bar is enabled.
	* src/DisplayState.py (DisplayState.__init__): statusbar creation
	with modified parameters.



svn: r8350
2007-04-03 23:34:08 +00:00
Don Allingham
f32d7b6d1a 2007-04-02 Don Allingham <don@gramps-project.org>
* src/DisplayState.py: shorten match message
	* src/GrampsDb/Makefile.am: Added _HelperFunctions.py
	* src/GrampsDb/__init__.py: Added _HelperFunctions.py
	* src/GrampsDb/_HelperFunctions.py: Added support functions



svn: r8349
2007-04-03 04:05:36 +00:00
Don Allingham
5580ad12d3 * src/GrampsDb/_GrampsDbBase.py: handle close/delete of active database
* src/DbManager.py: clean up
	* src/DbState.py: issue database-changed signal on db close
	* src/GrampsDbUtils/_GedcomParse.py: fix adding of notes
	* src/DbLoader.py: don't give undo warning if importing into empty db


svn: r8347
2007-04-02 03:56:30 +00:00
Don Allingham
30ce0c5291 2007-04-01 Don Allingham <don@gramps-project.org>
* src/DataViews/_PedigreeView.py: display matches in statusbar
	* src/DataViews/_PersonView.py: display matches in statusbar
	* src/DataViews/_RelationView.py: display matches in statusbar
	* src/DisplayState.py: display matches in statusbar
	* src/DisplayModels/_BaseModel.py: display matches in statusbar
	* src/DisplayModels/_PeopleModel.py: display matches in statusbar
	* src/GrampsDbUtils/_GedcomParse.py: display matches in statusbar
	* src/PageView.py: display matches in statusbar
	* src/Filters/_SearchBar.py: display matches in statusbar
	* src/DbManager.py: fix default file name



svn: r8346
2007-04-01 22:37:10 +00:00
Zsolt Foldvari
a5732076d6 2007-04-01 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/GrampsWidgets.py (Statusbar._set_packing): Reverse packing style.


svn: r8345
2007-04-01 20:12:14 +00:00
Zsolt Foldvari
4697422bed 2007-04-01 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/GrampsWidgets.py: Statusbar widget added.
	* src/ViewManager.py: use custom Statusbar.



svn: r8344
2007-04-01 16:37:23 +00:00
Brian Matherly
c71b782345 Remove "self.font" and "self.media_list" from the BaseDoc interface as they are only common to a couple of formats.
svn: r8342
2007-04-01 04:21:44 +00:00
Brian Matherly
6a864bb44c Fix PaperStyle typos for AbiWord2Doc.
svn: r8341
2007-04-01 03:10:29 +00:00
Don Allingham
2002d9a1ba 2007-03-29 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: load previous db if requested
	* src/gramps_main.py: load previous db if requested
	* src/ArgHandler.py: load previous db if requested



svn: r8340
2007-03-30 04:23:46 +00:00
Brian Matherly
698c28f230 Remove "get_newpage()" and "set_newpage()" from the ReportOptions class. They are not really options. The BookReportDialog now takes care of inserting page breaks.
svn: r8339
2007-03-30 02:30:42 +00:00
Don Allingham
a9a388bead 2007-03-28 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: call dbmanager if no file loaded on startup
	* src/DbManger.py: open buttons and double click
	* src/gramps_main.py: use "Family Trees"



svn: r8336
2007-03-29 01:42:21 +00:00
Zsolt Foldvari
0cc78b2e89 * src/DataViews/_NoteView.py: enable shortcuts and drag-and-drop.
* src/Bookmarks.py (NoteBookmarks.make_label): better note label.
	* src/DisplayTabs/_NoteModel.py: better note label for preview.
	* src/DisplayTabs/_NoteTab.py: enable accepting drag-and-drop notes.
	* src/ScratchPad.py: ScratchPadNote added.
	* src/DdTargets.py: NOTE_LINK added.

2007-03-28  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r8334
2007-03-28 16:27:45 +00:00
Zsolt Foldvari
33fedc18d4 2007-03-28 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/DataViews/_NoteView.py: put back column editor support.
	* src/GrampsDb/_GrampsDbBase.py (get_note_column_order): fix default
	values.
	* src/DisplayModels/_NoteModel.py: include marker column.



svn: r8333
2007-03-28 14:00:03 +00:00
Don Allingham
e8387f71c7 do the sensible thing, prevent duplicate names when creating a new db.
svn: r8332
2007-03-28 04:05:16 +00:00
Don Allingham
e5f0c18781 2007-03-27 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: pass dbstate to DbManager
	* src/DbManager.py: add icon, prevent deletion of open db, make buttons
	do the sensible thing



svn: r8331
2007-03-28 03:33:11 +00:00
Brian Matherly
58b1e800ca Remove "parse_report_options_frame()" and "parse_other_frames()" from the report interface. They are not used.
svn: r8330
2007-03-28 03:17:13 +00:00
Brian Matherly
adbf4b1dac Remove "enable_options()" from the report interface. All reports define all their own options. So it is not used.
svn: r8329
2007-03-28 02:47:03 +00:00
Zsolt Foldvari
a7083cf69c * src/GrampsDb/_DbUtils.py (db_copy): include missing Note table;
handling Note bookmarks.
	* src/GrampsDb/_GrampsDbWriteXML.py:
	* src/GrampsDb/_GrampsDBDir.py:
	* src/GrampsDb/_GrampsBSDDB.py:
	* src/Bookmarks.py:
	* src/GrampsDbUtils/_ReadXML.py:
	Handling Note bookmarks.

2007-03-27  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r8328
2007-03-27 21:47:18 +00:00
Zsolt Foldvari
5257824b63 * src/GrampsDbUtils/_ReadGrdb.py (importData): include missing Note
table; handle Note bookmarks.

2007-03-27  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r8327
2007-03-27 20:39:42 +00:00
Zsolt Foldvari
cbd230e24b 2007-03-27 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/GrampsDb/_GrampsDbBase.py: add note_bookmarks.
	* src/DataViews/_NoteView.py: 'add' and 'remove' functionalities added.
	* src/Editors/_EditNote.py: DeleteNoteQuery added.
	* src/DisplayTabs/_NoteModel.pya: unnecessary delete_tags call removed.
	* src/Utils.py: get_referents() and get_note_referents added();
	get_source_referents() and get_media_referents() rewritten.



svn: r8326
2007-03-27 18:28:26 +00:00
Brian Matherly
2151ad9780 Remove the "pagecount" option from the paper menu in the reports. It is not used.
svn: r8325
2007-03-27 12:04:07 +00:00