Commit Graph

63 Commits

Author SHA1 Message Date
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
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
73c35130ab Diagnostic print during rebuild reference map
svn: r18321
2011-10-14 23:13: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
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
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
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
7f72b08758 4750: SessionLog gramplet crash
svn: r17151
2011-04-19 15:26:15 +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
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
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
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
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
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
Doug Blank
b439b377eb 3975: Accessing an incompatible database corrupts the database
svn: r16212
2010-11-19 01:08:07 +00:00
Benny Malengier
e59b7276b4 4333: memory leak in 3.2
svn: r16091
2010-10-31 08:36:03 +00:00
Benny Malengier
1fee4971f4 4333: memory leak in 3.2
svn: r16089
2010-10-31 07:33:17 +00:00
Nick Hall
298827d843 GEPS 006: Add Locality field to Location
svn: r16063
2010-10-27 18:13:53 +00:00
Benny Malengier
209b34f359 various fixes and additions for GEP 021'
svn: r16043
2010-10-24 21:38:56 +00:00
Benny Malengier
e109e3d743 Merged geps21 branch, changes r15866-16034, into trunk
svn: r16035
2010-10-24 14:43:47 +00:00
Nick Hall
c3e527b4fb GEPS 011: Tagging - Extended to Family, Note and Media objects
svn: r16025
2010-10-22 23:22:33 +00:00
Benny Malengier
5013162ded A new person editor
svn: r15951
2010-10-03 11:39:47 +00:00
Benny Malengier
371205ec70 Fix surname index for autocompletion
Fix check tool and start with importgrdb upgrade


svn: r15949
2010-10-02 16:01:34 +00:00
Peter Landgren
7abb29d568 Consistent use of OS detection and host added to Win users.
svn: r15932
2010-09-27 17:54:22 +00:00
Nick Hall
f748668c89 GEPS 011: Tagging - Converted to use new database table object
svn: r15921
2010-09-21 17:52:37 +00:00
Nick Hall
bf8146b9d1 GEPS 011: Tagging
svn: r15830
2010-08-29 18:36:42 +00:00
Doug Blank
7151e07d3a Rewrote autoremove flag workaround
svn: r15795
2010-08-22 06:33:06 +00:00
Doug Blank
fcef732f93 Added dbid and dbname to databases; id is the unique dir name, and name is the assigned name stored in text file
svn: r15786
2010-08-21 20:20:34 +00:00
Doug Blank
791ab064f8 Renamed GrampsCursor to BsddbBaseCursor
svn: r15689
2010-08-08 22:06:54 +00:00
Doug Blank
3e28ee67ec 2059: need a way to compare and merge all objects, by MD Nauta
svn: r15645
2010-07-22 02:16:32 +00:00
Gerald Britton
6369bb0286 Minor edit
svn: r15428
2010-05-20 18:32:36 +00:00
Doug Blank
77feae36e2 3609: Can't open a gramps 3.1 database from trunk on Windows 7 64 bit from Gramps 3.2
svn: r14983
2010-04-01 01:19:04 +00:00
Benny Malengier
6b1c15db54 3783: NewPerson Dialogue: "available surname list" shows each occurrence of a family name instead of one per family name
svn: r14975
2010-03-30 13:41:23 +00:00
Doug Blank
bbf2bfe654 Commented out set_pagesize to be compatible with previous versions of gramps (gramps31).
svn: r14880
2010-03-20 13:06:54 +00:00
Benny Malengier
9ab5decb47 3667: Addings a new person and changing the name grouping results in frozen window
svn: r14662
2010-03-07 15:33:38 +00:00
Gerald Britton
cd90261ff0 Bug 003611: delete/undo/delete sequence causes crash
svn: r14389
2010-02-15 14:14:35 +00:00
Gerald Britton
4268634b1f Remove method that is now unused as a result of changes in rev. 14179
svn: r14183
2010-02-01 18:30:16 +00:00
Brian Matherly
f04880ec09 Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time.
svn: r14091
2010-01-18 04:42:17 +00:00
Brian Matherly
252ef6daee Continued work on GEP008: Move BasicUtils/UpdateCallback.py to gen/updatecallback.py.
svn: r14025
2010-01-10 20:21:10 +00:00
Doug Blank
06d0291ff4 Refinements on database hierarchy
svn: r13907
2009-12-24 14:38:39 +00:00
Doug Blank
ab3dfe1415 3465: Create a new hierarchy of base classes for gramps cor databases (read, write) and add methods
svn: r13894
2009-12-23 15:55:58 +00:00
Doug Blank
699dcb13fe Fixed svn Id property
svn: r13881
2009-12-21 13:43:50 +00:00
Brian Matherly
814d721f68 Remove QuestionDialog dependency from gen. The database now raises exceptions and the GUI generates the question dialog.
svn: r13865
2009-12-20 22:44:32 +00:00
Doug Blank
f272ce3dd1 Move gtk-based items out of scope of import for cli
svn: r13599
2009-11-16 22:39:54 +00:00