Commit Graph

819 Commits

Author SHA1 Message Date
Michiel Nauta
9dfa6c1c32 5543: Error on merging media objects
svn: r18794
2012-01-29 16:25:26 +00:00
Michiel Nauta
56f98a2afb Updated gen/lib/test/merge_test.py
svn: r18793
2012-01-29 16:19:08 +00:00
Rob G. Healey
dfd838e74d Removed referenced.py from the src/gen/proxy directory to allow autotools to compile Gramps.
svn: r18784
2012-01-28 11:19:55 +00:00
Gary Burton
b07ae69371 Removed referenced proxy in favour of referencedBySelection
svn: r18781
2012-01-27 21:03:57 +00:00
Tim G L Lyons
1ff2b969c4 0005529: Implement clickable links in reports, at least for odf. Implemented for odf output only, using mark.type LOCAL_HYPERLINK and LOCAL_TARGET.
svn: r18766
2012-01-24 18:13:23 +00:00
Tim G L Lyons
975f4dc118 GEPS 023: Updates to Check and Repair, Test Case Generator and repo and Utils
Check and Repair tool

 - new check source and citation reference function, with extensive changes from previous (temporary) check citation references function,
 - low level in-table duplicate handle check removed as this is superfluous because the main database tables do not use the DB_DUP flag,
 - Progress meter added for cross table duplicate checking and  fixed for all checks,
 - diagnostic prints added for all checks to indicate success, and for many to indicate details of failures detected. These prints could be simply changed to Log messages if necessary. Comments added to show how checks relate to Test Case Generator test data,
 - order of checks revised so empty objects are removed first,
 - fix_encoding of media paths and descriptions modified to remove invalid characters (see change to Utils),
 - check and remove empty citations added.

repo.py remove_citation_references added to fix removal of citations on addresses in Repository records.

Utils.py fix_encoding modified to add an option to ignore characters that can't be unicode encoded.

TestCaseGenerator

 - generate families extended to generate family events,
 - options dialogue updated to reflect available features and to make it clearer,
 - block transactions options removed as they were by-passed in the code.
 - progress meter updated to use current function, and to properly update for all options,
 - signal testing code (that wasn't functional anyway) removed,
 - tag generating code called when it needed to be,
 - data error generating code broken up into functions to reflect the functions in the Check and Repair tool that they are designed to test,
 - various test data functions added for testing cross table duplicates, media encoding errors, missing photos, control characters in notes, empty objects, source and citation references and a few missing broken family links tests,
 - some fixes for some test cases (check events, person events were marked as birth events)
 - fix random text so tags don't contain invalid characters and add a styled text option,
 - ensure that some citations are shared,
 - remove old redundant commit_transaction function,
 - media linked to pictures that exist in the Gramps code so that they don't appear as missing images.


svn: r18713
2012-01-06 22:56:08 +00:00
Paul Franklin
daad52ee3e better PEP08 formatting, for 18695
svn: r18707
2012-01-05 19:52:34 +00:00
Paul Franklin
ac7660c0fd clarify error typeout
svn: r18695
2012-01-03 18:27:36 +00:00
Doug Blank
37ed4e58ca 5476: Allow user to set a default relationship type
svn: r18687
2012-01-02 15:12:18 +00:00
Michiel Nauta
1f1fc901d9 1995: DB remains locked if it is incompatible
svn: r18680
2012-01-01 22:13:46 +00:00
Nick Hall
24976ab0a6 5472: Update gramplets when database changed so that they correctly show if they have data. Also remove superfluous updates.
svn: r18679
2012-01-01 17:58:33 +00:00
Paul Franklin
a0a19bce77 improve CLI "indefinite" progress typeout finish
svn: r18647
2011-12-21 05:39:22 +00:00
Doug Blank
42c397f830 Return self from serialize to work with the create method
svn: r18587
2011-12-12 23:20:18 +00:00
Paul Franklin
1ee2a4ec30 revert 18559 and 18560
svn: r18578
2011-12-11 19:09:19 +00:00
Doug Blank
4409f30bc2 5423: Incorrect age for 'death before XX'
svn: r18576
2011-12-11 15:58:16 +00:00
Doug Blank
3536e8e58b Added missing get_XXX_cursor methods to proxybase
svn: r18569
2011-12-11 03:57:38 +00:00
Paul Franklin
82eaf45b20 enhance error message
svn: r18560
2011-12-09 19:31:07 +00:00
Paul Franklin
b620bf6115 enhance error message
svn: r18559
2011-12-09 17:11:59 +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
f37ab70446 Merged trunk r18499 through r18539 into geps023.
Conflicts resolved in:
    gramps.pot


svn: r18540
2011-12-02 00:10:04 +00:00
Tim G L Lyons
26cb74474b Removal of redundant SourceRef and related modules. Minor consequent changes.
svn: r18516
2011-11-27 17:49:25 +00:00
Tim G L Lyons
a48553ed90 Update DetAncestralReport, DetDescendantReport, IndivComplete and endnotes for citations.
svn: r18513
2011-11-26 18:35:30 +00:00
Paul Franklin
54746c1590 typo
svn: r18512
2011-11-26 18:00:07 +00:00
Tim G L Lyons
99d42f6091 Updates to NarrativeWeb and _bibliography for citations.
svn: r18499
2011-11-25 17:29:30 +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
Tim G L Lyons
f0bb1205f3 Tidy up some comments
svn: r18497
2011-11-24 14:54:29 +00:00
Tim G L Lyons
14954cdd91 Fix problem with cancelling a citation edit where it thought the citation had been changed even though it had not.
svn: r18489
2011-11-22 22:32:36 +00:00
Tim G L Lyons
61e6a0a1c0 Update src/gen/proxy/* for citations
svn: r18485
2011-11-22 14:59:18 +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
Michiel Nauta
a7ce1af962 5291: JPG is not imported
svn: r18457
2011-11-16 17:58:58 +00:00
Tim G L Lyons
4a69d45fe6 Upgraded Source and Citation reference Quick Views to work with citations (actually, for citationtreeview, this is a source_or_citation reference, to avoid having to change the way listview calls the pop up menu items).
Also minimal changes to SimpleAccess and SimpleTable to support these references views.

svn: r18447
2011-11-15 12:08:43 +00:00
Tim G L Lyons
f8f510d5f1 Delete remove_source_references and replace_source_references as they are no longer needed.
Rename remove_citation to remove_citation_refs and make it apply to a citation_handle_list.
Updated tool/Check.py to change check_source_references into check_citation_references


svn: r18433
2011-11-11 17:12:43 +00:00
Tim G L Lyons
b4f434357f Remove has_source_reference because it is only used in mergesource, and it is better to make the test directly, because only citations have source references and they only have one reference.
svn: r18417
2011-11-08 17:39:17 +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
Tim G L Lyons
4169661302 Update uses of get_source_referents to handle citations:
* implement new Utils get_source_and_citation_referents
* Update sourceview.py and citationtreeview.py to use it
* Fix editsource.py, where deletion of a source object was not properly dealing with all possible citations
* Update mediaobj.py which still had a remnant of a source_list
* fix _HasTextMatchingSubstringOf filter to deal with text in both sources and citations

svn: r18394
2011-11-01 11:10:18 +00:00
Paul Franklin
6a651d80e7 malformed SVN "Id" line
svn: r18392
2011-10-31 15:33:09 +00:00
Paul Franklin
bb0b9de18b malformed SVN "Id" line
svn: r18391
2011-10-31 15:27:48 +00:00
Brian Matherly
93ec059b3d Remove ErrorDialog and WarningDialog from reports. Replace with User.warn() and User.notify_error().
svn: r18388
2011-10-31 02:40:19 +00:00
Brian Matherly
0b8ea1202d Implement new "User()" class for reports to indicate progress and prompt the user. This allows the removal of from "gui.utils import ProgressMeter" from reports so that they don't depend on gui.
svn: r18378
2011-10-29 05:02:33 +00:00
Paul Franklin
22b0f8476c 5031: Some reports should not register the page orientation to non-default (Landscape)
svn: r18366
2011-10-23 20:38:22 +00:00
Jérôme Rapinat
f455cb269c 5293: wording improvements
svn: r18364
2011-10-23 07:51:22 +00:00
Paul Franklin
ba60ec4c07 missing or malformed SVN "Id" line
svn: r18361
2011-10-23 03:13:50 +00:00
Paul Franklin
4997134564 corrected SVN "Id" property
svn: r18357
2011-10-22 15:10:59 +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
2c89d2e0b2 Fix merge citations for repositories
svn: r18343
2011-10-18 16:38:18 +00:00
Tim G L Lyons
5e0c4d074a Updated Filters and Filters/Rules for citations
* renamed HasSourceBase to HasSourceCountBase to reflect function, and because HasSourceBase is changed to be more widely used
* consequent renaming of filters for various object types
* changed source filters to a new 'Citation/source filters' category
* added Citation/_HasSource to check whether Citation refers to a Source with particular properties
* added Person/_HasCitation, Event/_HasCitation and Family/_HasCitation to check whether object refers to a Citation with particular properties
* updated Citation/_MatchesSourceFilter
* updated Rules/_MatchesSourceConfidenceBase
* updated Rules/_MatchesSourceFilterBase
* updated Citation object and citationbase.py for source references
* updated Person/_HasSourceOf 

* updated comments in Filters/Rules/__init__.py to document how the various rules are used.


svn: r18339
2011-10-16 21:09:49 +00:00
Paul Franklin
331c135235 5128: Python files with no SVN "Id" property (& added MIME text/plain if none)
svn: r18338
2011-10-16 20:21:22 +00:00
Doug Blank
7b4b4136bf Importing from webpage--- need to report error and status
svn: r18332
2011-10-16 01:46:28 +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
Doug Blank
382336e9b5 Missing return self on unserialize for convienience and consistency
svn: r18325
2011-10-15 20:09:20 +00:00
Doug Blank
d829ca51fa Return self from unserialize as convienience and to match other objects
svn: r18323
2011-10-15 15:02:51 +00:00
Tim G L Lyons
73c35130ab Diagnostic print during rebuild reference map
svn: r18321
2011-10-14 23:13:21 +00:00
Jérôme Rapinat
0259a143a0 can died at same year as max_alive
svn: r18316
2011-10-13 16:11:06 +00:00
Jérôme Rapinat
7c06699fb8 5293: use correct method with precision set; try to avoid age greater than max alive (user preferences)
svn: r18315
2011-10-13 14:52:52 +00:00
Jérôme Rapinat
1bc8f8a79c 5293: age='unknown' for after/after and before/before dates (age calculation)
svn: r18298
2011-10-12 16:30:18 +00:00
Jérôme Rapinat
6dbab99330 5293: return year only with 'about' calculation
svn: r18294
2011-10-12 14:42:54 +00:00
Doug Blank
bdc643366d Added return on unserialize; added create for all classes
svn: r18286
2011-10-11 23:39:10 +00:00
Doug Blank
552602da8b Added include_in_listing handling to ignore packages
svn: r18276
2011-10-10 12:27:14 +00:00
Tim G L Lyons
14c4b6a463 Fix backref links from events to person. In the event view, the 'Main Participants' was blank, as was the 'References' gramplet.
svn: r18245
2011-10-03 17:19:23 +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
a906c98439 Clean-up Sources and Citations views:
* Add icon for citations view
* disable old sourceview
* change citationtreeview to be Sources navigation view
* citationlistview is now the Citations view
* merge libcitationview into citationlistview and citationtreeview, and corrected and rationalised
* remove libcitationview
* corrected initialisation of source_handle in Citation.py
* fixes for preventing same source being edited twice
    - fixed blockedtext in citationembededlist
    - override build_window_key in editcitation.py

svn: r18211
2011-09-26 19:53:18 +00:00
Tim G L Lyons
5719832f36 Citation filters
svn: r18182
2011-09-20 22:05:41 +00:00
Peter Landgren
5c7f6751af Fix of first issue in 5194.
svn: r18105
2011-09-03 11:26:15 +00:00
Tim G L Lyons
bb854ec772 Modifications as suggested by Nick Hall:
* Remove inheritance of Citation from RefBase, using source_handle filed instead (similar to  the way Family objects store mother and father handles) (also use the set_ and get_reference_handle functions more consistently)
* Use get_citation_list instead of get_citation_references (more consistent with the way notes are handled)

svn: r18100
2011-09-02 10:40:53 +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
29cc4ee6e9 * various updates to CitationView, CitationEmbedView and CitationEditor to take account of Rev 17973 for two different object types in selectors
* updates to citationviews to support all the functionality (add source etc.) provided by sourceview (including different tooltips for tree view and list view)
* moved registration of citationtreeview into view.grp.py
* removed citationtreeview.grp.py module
* fixed update to citation when note is deleted
* fixed update to citation when media object is deleted
* re-enabled edit button in sourcebackreflist
* improved date display in mergecitation
* changed default note type for citation notes
* changed backref in citation editor to CitationBackRefList
* fixed removal of citation handles from the list in primary objects when a citation is deleted
* fixes for pylint

svn: r18095
2011-09-01 18:13:42 +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
Brian Matherly
b0b919d148 Patch from Paul Franklin - Partial work for: 0004646: reports cannot be run from the command line in a non-GUI environment
svn: r18047
2011-08-19 01:57:43 +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
Brian Matherly
bb6ad450e3 Patch by Adam Stein <adam@csh.rit.edu > - Partial completion of "0002513: Using section/region on media_ref as thumbnail on reports"
svn: r17917
2011-07-12 03:30:58 +00:00
Jérôme Rapinat
bc69af84af typo on docstring
svn: r17905
2011-07-08 15:50:55 +00:00
Michiel Nauta
2a10453af0 5046: GEDCOM import fails on aka name
svn: r17838
2011-06-27 15:20:56 +00:00
Peter Landgren
4750ab4816 Endnotes improvment, see issue 4997 & 4998.
svn: r17809
2011-06-19 11:47:22 +00:00
Peter Landgren
d66d7cdc9c Fix so that date, if any, in source reference is printed.
svn: r17734
2011-06-09 14:26:23 +00:00
Michiel Nauta
e1109cd0b0 4209: XML DTD rewrite, cleanup
svn: r17647
2011-06-01 21:32:52 +00:00
Benny Malengier
607d06f901 4910: when no surname known, Narweb picks up the patronymic as Main surnames
svn: r17606
2011-05-28 15:49:57 +00:00
Benny Malengier
75e6b38fbc Allow modifier % on styledtext
svn: r17579
2011-05-27 09:06:48 +00:00
Doug Blank
521b8fa98d Made NextYear use Today() + 1
svn: r17547
2011-05-21 22:06:40 +00:00
Jérôme Rapinat
1ab2656517 2521, 4923 'after' and validation (partial fix); typo on NextYear()
svn: r17545
2011-05-21 08:38:22 +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
fd4b980c3e Allow setting mode on opening of file
svn: r17519
2011-05-17 17:22:03 +00:00
Michiel Nauta
34e6755e8b Prevent db deadlock on all_handles method
svn: r17517
2011-05-17 17:15:12 +00:00
Brian Matherly
3d4f4f031c Patch from Adam Stein <adam@csh.rit.edu>: Add support for links and cropped images in ODF document output. Also related to: http://www.gramps-project.org/bugs/view.php?id=4774
svn: r17451
2011-05-08 03:29:36 +00:00
Benny Malengier
ef19ca1f69 4847: when no surname known, GRAMPS picks up the patronymic as Primary[sur]
svn: r17439
2011-05-07 13:39:33 +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
Nick Hall
6ae3d86480 Remove gramplet update messages from the status bar
svn: r17355
2011-04-30 10:51:53 +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
Doug Blank
4ec351710d Removed title_id from gramplets; not needed
svn: r17197
2011-04-22 01:44:20 +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
Brian Matherly
3db2b525f6 0004820: Cannot translate hard coded 'PERSON' string on reports
svn: r17101
2011-04-12 02:49:34 +00:00
Nick Hall
0f564c43ef 4641: Interface for indicating if GrampsBar gramplets have data
svn: r17049
2011-04-05 18:24:44 +00:00
Vassilii Khachaturov
4a03503c98 4796: 'Primary' string needs l10n context
CR: Benny
* Created two strings with l10n context instead of the old one,
'Role|Primary' and 'Name|Primary'.
* While testing, GUI started showing the context when not localized, fixed
that with appropriate sgettext instead of gettext in surnametab.py.
* While at it, changed also changed 'Family' in the Role context to 'Role|Family'.
* ru.po: major translations in the area of name and name formats.
The new Primary[...] and Patronymic[...] concept along with Notpatronymic
still don't fit well when translated :-(



svn: r16986
2011-03-30 14:43:34 +00:00
Doug Blank
e2c6a9cdb4 #4795 Gramplet titles now appear in current language, not the language used at time of creation; also added properties for gramplet navtype and orientation preferences
svn: r16985
2011-03-30 13:48:46 +00:00
Michiel Nauta
d1a8593f7f Add merge unittests
svn: r16952
2011-03-27 21:15:07 +00:00
Michiel Nauta
5835c8e933 Move opening of file to gen.plug.utils
svn: r16939
2011-03-27 08:11:51 +00:00
Michiel Nauta
caec97cb7f Make DbWriteBase inherit from DbReadBase to increase pylint score
svn: r16913
2011-03-24 21:38:04 +00:00
Jérôme Rapinat
31c7750b62 help for translators, avoid long strings here
svn: r16879
2011-03-22 12:37:07 +00:00
Benny Malengier
fac3f46efb Fix regression with sort as and display as in names. Functionality is again as one would expect in treeview
svn: r16849
2011-03-18 15:45:41 +00:00
Benny Malengier
3c9fa2c1d4 4598: (trunk 3.3) new name format copies patronymic into surname as well as leaving it as a patronymic when importing
This extends what name display can be


svn: r16848
2011-03-18 10:42:03 +00:00
Brian Matherly
e6befe67b9 Separate some general code from GUI specific code - particularly for graph generators so that graphs can be generated from the CLI.
svn: r16838
2011-03-17 03:02:36 +00:00
Michiel Nauta
12a01f6700 4759: Make setting a grampstype only assign a string when type is CUSTOM
svn: r16837
2011-03-16 22:06:28 +00:00
Michiel Nauta
3e76c9d3b5 4758: Copy constructor of gen.lib objects uses shallow copy instead of deep copy
svn: r16825
2011-03-15 21:52:08 +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
959bea3507 4041: Filter rule people with records containing <substring> fails on street name
svn: r16760
2011-03-05 10:47:07 +00:00
Michiel Nauta
a7906886af undo revision 16673
svn: r16742
2011-03-02 11:31:57 +00:00
Michiel Nauta
e99e492a1b 4665: Aborted transactions appear in the undo history
svn: r16697
2011-02-22 16:03:11 +00:00
Gerald Britton
e8b0c9d1eb Tweak
svn: r16688
2011-02-21 14:35:04 +00:00
Michiel Nauta
cdf024c6dc 4662: Unable to add more than one name format
svn: r16682
2011-02-20 18:29:59 +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
Peter Landgren
dbfd4c9e35 Further improvment for Swedish Calendar.
svn: r16675
2011-02-19 14:13:46 +00:00
Michiel Nauta
756bd836a0 4657: The "sort as" name is ignored
svn: r16673
2011-02-19 14:06:21 +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
Doug Blank
918f8f949b Why was this removed?
svn: r16654
2011-02-17 20:33:33 +00:00
Michiel Nauta
17e1091024 4614: Views with persons name look strang after XML import
svn: r16652
2011-02-17 18:09:53 +00:00
Gerald Britton
e25b523fc5 Fix bug in version_str_to_tup
svn: r16651
2011-02-17 17:03:09 +00:00
Peter Landgren
e3557e3008 Improved Swedish Calendar.
svn: r16643
2011-02-17 08:36:40 +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
Gary Burton
b1ce7f7014 Add new abstract methods to ReportOptions. Bug #4572
svn: r16581
2011-02-05 17:46:43 +00:00
Peter Landgren
8aec0756a8 Better abbreviations, thanks to Paul Franklin.
svn: r16568
2011-02-04 15:43:36 +00:00
Benny Malengier
ebe5229822 4599: regression from 3.2.5 - name format preference doesn't persist across reloads
svn: r16565
2011-02-04 10:51:28 +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
Michiel Nauta
a34d022cae Restore person-place replace_handle_reference.
svn: r16555
2011-02-03 18:17:00 +00:00
Peter Landgren
35d8b00993 Added a comment.
svn: r16528
2011-02-01 12:11:51 +00:00
Benny Malengier
6d596ad987 4198: Person view does not remove a row correctly when two people are merged.
This is a major patch by Michael Nauta. It means all writes happen immediately to bsddb, and the bsddb 
rollback is used on a crash. Transaction is no longer used to store changes and do them on commit.
Undo database is set on end. 
At the same time with statement is used throughout for transactions
At the same time, the original bug in merge code should be fixed
Still some issues, that will be ironed out


svn: r16523
2011-01-31 21:54:58 +00:00
Peter Landgren
7716c7cbdd Issue 4425: Abbreviation algorithm does not work for all languages.
svn: r16518
2011-01-31 19:40:27 +00:00
Benny Malengier
9a2fd50642 Changes to allow a QML interface:
* a const to launch it
 * fix an error in obtaining dbname
 * refractor pieces to allow reuse


svn: r16504
2011-01-30 16:28:54 +00:00
Nick Hall
116d26e69f Add extra GrampsBar functionality.
svn: r16502
2011-01-30 03:02:38 +00:00
Benny Malengier
c2e353a72b 4383: Error while attempt to edit family
2521: Problem with erroneous birth date in using the family editor.
We show validation error on date > next year, and don't crash on large year anymore



svn: r16468
2011-01-25 12:45:49 +00:00
Benny Malengier
4313de6f72 Fix bug in bsddb 4.7 by moving the NOSYNC setting before env open
svn: r16460
2011-01-24 19:34:59 +00:00
Gerald Britton
0b0913bac1 Remove unneeded line continuations
svn: r16450
2011-01-23 23:01:50 +00:00
Benny Malengier
4e261e9bf8 Still write to log synchronously, don't flush
svn: r16449
2011-01-23 21:54:56 +00:00
Benny Malengier
b3beba53d8 Some bsddb changes
* allow to use bsddb3 as database via a config setting
  * set async write to disk to improve speed, eg import * 40


svn: r16446
2011-01-23 21:25:51 +00:00
Benny Malengier
1e119f93c3 location as predifined name origin type
svn: r16436
2011-01-22 15:09:38 +00:00
Gerald Britton
680a780a8c Remove redundant line continuations
svn: r16425
2011-01-21 16:27:54 +00:00
Benny Malengier
2667c4262f 4336: Generate a set of filters matching Alternate names, Nickname attribute and a NameType() selector
svn: r16420
2011-01-21 12:10:10 +00:00
Benny Malengier
198e222e91 correct typo in error message
svn: r16371
2011-01-13 09:48:00 +00:00
Benny Malengier
d127992b0d string change update
svn: r16368
2011-01-12 08:57:44 +00:00