Commit Graph

221 Commits

Author SHA1 Message Date
Benny Malengier
faed8a9f5f Start convertion to introspection. Flat models work, as does relationship view
svn: r19858
2012-06-17 21:25:37 +00:00
Nick Hall
9595af1324 GEPS008: Moved constfunc module
svn: r19810
2012-06-09 20:56:43 +00:00
Nick Hall
aabc6c05c2 GEPS008: Moved config module
svn: r19809
2012-06-09 20:10:28 +00:00
Nick Hall
1d6a4e60c4 GEPS008: Moved Errors module
svn: r19785
2012-06-07 17:06:16 +00:00
Nick Hall
33f45cb087 GEPS008: Moved QuestionDialog module
svn: r19771
2012-06-05 23:49:12 +00:00
Doug Blank
5e93dddaff Added an interface for databases to implement additional features/values
svn: r19721
2012-05-31 13:57:05 +00:00
Nick Hall
50773ebd51 5752: Store tag names as unicode
svn: r19631
2012-05-23 13:21:36 +00:00
Michiel Nauta
96f9d72540 Add warning on db env opening failure
svn: r19551
2012-05-17 09:53:36 +00:00
Jérôme Rapinat
06c0aa4d54 translation issues (patch by MathieuMD), see devel mailing list
svn: r19352
2012-04-18 17:27:47 +00:00
Josip Pisoj
53c9c30890 bug #5554: Automake problem
svn: r18851
2012-02-10 20:25:15 +00:00
Tim G L Lyons
5daa484bce Change to use monospaced font in InfoDialog in upgrade 16 report. (The report was designed for a monospaced font)
svn: r18812
2012-02-02 12:53:24 +00:00
Michiel Nauta
1f1fc901d9 1995: DB remains locked if it is incompatible
svn: r18680
2012-01-01 22:13:46 +00:00
Paul Franklin
c83653f017 for Python files and Makefile.am files in the "src" (only) sub-tree:
1) add SVN svn:keywords "Id" property if it didn't have it
2) add SVN svn:mime-type "text/plain" property if it didn't have it
3) add SVN "Id" line to the file if it had none


svn: r18554
2011-12-06 16:56:50 +00:00
Tim G L Lyons
c833073ba6 GEPS023: merge branch (changes 17960-18546) into trunk
svn: r18548
2011-12-04 17:09:17 +00:00
Tim G L Lyons
6cb761b010 Merged trunk r18398 through r18497 into geps023.
Conflicts resolved in:
    NarrativeWeb.py


svn: r18498
2011-11-24 18:15:53 +00:00
Paul Franklin
a76cea3fae typo
svn: r18470
2011-11-20 17:52:13 +00:00
Tim G L Lyons
9f29350da4 Fix bug that wasn't taking account of the fact that event references in Person and Family have attributes which themselves can have Citations.
* In Person, add event_ref_list to get_citation_child_list (therefore it is no longer needed in get_handle_referents)
* Similarly in Family, add event_ref_list to get_citation_child_list
* Enhance upgrade to add upgrade of event_ref_list for person and family
* Add has_citation_reference, replace_citation_references and remove_citation_references to EventRef
* Change name of remove_citation_refs to remove_citation_references to be consistent with has_citation_reference (singular) and replace_citation_references

Fix editcitation because it was displaying the wrong privacy button for sources.
Also remove FIXME for editcitation for db signal connect, because comment explains why it is not needed.


svn: r18469
2011-11-20 17:42:04 +00:00
Michiel Nauta
32b5905aea 5368: Loading familytree with downgraded Berkeley db should generate expressive error
svn: r18467
2011-11-20 09:33:31 +00:00
Tim G L Lyons
3adb1b7ffa Merged trunk r17888 through r18397 into geps023.
Conflicts resolved in:
    /data/grampsxml.dtd
    /data/grampsxml.rng
    /src/Filters/Rules/Repository/_MatchesNameSubstringOf.py
    /src/plugins/import/ImportXml.py
(Various property conflicts also resolved)

svn: r18405
2011-11-05 19:07:58 +00:00
Paul Franklin
ba60ec4c07 missing or malformed SVN "Id" line
svn: r18361
2011-10-23 03:13:50 +00:00
Paul Franklin
1a4f9cdca7 added GPLv2 and SVN Id line
svn: r18345
2011-10-18 18:14:07 +00:00
Tim G L Lyons
f35cb08aff Upgrade repository (because addresses can have sources)
svn: r18331
2011-10-15 21:48:57 +00:00
Doug Blank
0b1649b0f4 Move src/web to src/webapp to make it more clear what this dir is for
svn: r18327
2011-10-15 20:21:48 +00:00
Tim G L Lyons
73c35130ab Diagnostic print during rebuild reference map
svn: r18321
2011-10-14 23:13:21 +00:00
Tim G L Lyons
8c36ed6a8e Add MergeCitations tool.
Add note to upgrade information dialogue box to suggest running the tool.
Fixes to Person and Family for get citation child list for merging citations.


svn: r18228
2011-09-30 21:34:21 +00:00
Tim G L Lyons
bad963e150 Modifications to upgrade code as suggested by Michiel Nauta; many thanks for his advice.
svn: r18096
2011-09-01 22:07:04 +00:00
Tim G L Lyons
5a3cef062c * Implemented merge Citation
* Updated merge Sources
* Implemented undo-redo for citations (revision 18069 had only added citations to the undo-redo list, not acted on that types of element)
* Fixed embedded lists for some of the object type editors that were done in Rev 18069
* Modified EditCitation so the source parameter is optional
* Added svn properties for all /src/Merge/merge*.py modules
* Added support for EditCitation from backreflist.py

svn: r18085
2011-08-30 10:40:30 +00:00
Tim G L Lyons
d3dcbb1c12 Implemented database upgrade for all eligible remaining object types.
Added Citations to undo-redo feature.
Moved Citation view within navigation pane to below Sources.
Removed useless edit button from sourcebackreflist.
Fixed default bottombar gramplets for citations. 

svn: r18069
2011-08-26 23:18:11 +00:00
Tim G L Lyons
165625715d Various enhancements:
* Modified Event object to include references to Citations
* Implemented database upgrade for Events (upgrade for Media had already been done)
* Enhanced database upgrade to do backlinks
* Modified Media object to remove sourceref
* Implemented citations bottombar gramplet
* Some minor fixes and improvements

svn: r18054
2011-08-23 16:54:03 +00:00
Michiel Nauta
6cbe9e31b5 5145: attempted deletion stopped
svn: r18020
2011-08-09 20:34:21 +00:00
Tim G L Lyons
f9df3503b2 Added svn properties and improved some code layout (mainly long lines).
svn: r17977
2011-07-29 10:31:41 +00:00
Tim G L Lyons
9ff46d9eab Initial prototype.
* Changed database to introduce Citations
* Introduced new Citation Primary object and CitationBase (equivalent to CitationRef) child object
* Implemented CitationTreeModel and CitationListModel
* Implemented CitationTreeView and CitationListView for new citation views in the navigator
* Implemented EditCitation which is used both for the citation views in the navigator and for the citations of an object
* Implemented the CitationEmbedList to display the citations of an object
* Modified the bottom bar gramplets to support citations
* Implemented the citation selector.
* Modified Media object to include references to Citations
* Initial work on deleting citations


svn: r17960
2011-07-24 18:30:28 +00:00
Michiel Nauta
e1109cd0b0 4209: XML DTD rewrite, cleanup
svn: r17647
2011-06-01 21:32:52 +00:00
Michiel Nauta
654fb81665 Change default to return handles unsorted on get_object_handles methods
svn: r17537
2011-05-19 20:36:17 +00:00
Michiel Nauta
34e6755e8b Prevent db deadlock on all_handles method
svn: r17517
2011-05-17 17:15:12 +00:00
Michiel Nauta
66efd796c5 4669: Long transactions can cause unwanted effects in TreeViews
svn: r17422
2011-05-05 20:02:48 +00:00
Michiel Nauta
f9f932e568 4322: Upgrading a large database to new version runs out of memory; increase locktable size
svn: r17364
2011-05-01 06:53:01 +00:00
Michiel Nauta
b6471586d4 3614: Undo gives wrong text in menu of what it will do; uncontroversial patch part
svn: r17225
2011-04-23 14:17:53 +00:00
Michiel Nauta
ff045c3e19 4818: Change time after DB upgrade (3.2 to 3.3)
svn: r17154
2011-04-19 18:00:34 +00:00
Michiel Nauta
7f72b08758 4750: SessionLog gramplet crash
svn: r17151
2011-04-19 15:26:15 +00:00
Michiel Nauta
caec97cb7f Make DbWriteBase inherit from DbReadBase to increase pylint score
svn: r16913
2011-03-24 21:38:04 +00:00
Michiel Nauta
2b72a71a6e 4416: Adjust import ID to users ID format
svn: r16791
2011-03-09 16:22:05 +00:00
Michiel Nauta
e99e492a1b 4665: Aborted transactions appear in the undo history
svn: r16697
2011-02-22 16:03:11 +00:00
Benny Malengier
752d594571 4198: Person view does not remove a row correctly when two people are merged.
This patch improves on the context changes:
 * avoid use of transaction_xx methods
 * force an abort in case of unclean transaction

Backward compatibility is broken to achieve this.


svn: r16680
2011-02-20 10:52:06 +00:00
Doug Blank
8715e15b95 Don't crash if name.txt doesn't exist; this can happen if you try to get name before you open a database
svn: r16666
2011-02-18 19:07:32 +00:00
Gerald Britton
a19e65073c Use built-in map function to simplify some list comprehensions
svn: r16636
2011-02-16 20:06:40 +00:00
Michiel Nauta
d2a0f9fa23 Properly close database environment upon open failure
svn: r16618
2011-02-14 20:19:44 +00:00
Michiel Nauta
0eb166615b Replace bare except by specific exception.
svn: r16606
2011-02-11 18:29:15 +00:00
Michiel Nauta
1231b1cac8 4590: Error on access of LDS editor when sealed to family has been removed.
svn: r16592
2011-02-09 16:03:52 +00:00
Benny Malengier
60e8c0c013 3975: Accessing an incompatible database corrupts the database
Undoing unset of DB_RECOVERY flag, we need it to have ACI(D) database


svn: r16562
2011-02-03 22:23:36 +00:00