Commit Graph

49 Commits

Author SHA1 Message Date
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
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
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
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
4e261e9bf8 Still write to log synchronously, don't flush
svn: r16449
2011-01-23 21:54:56 +00:00
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
b439b377eb 3975: Accessing an incompatible database corrupts the database
svn: r16212
2010-11-19 01:08:07 +00:00
e59b7276b4 4333: memory leak in 3.2
svn: r16091
2010-10-31 08:36:03 +00:00
1fee4971f4 4333: memory leak in 3.2
svn: r16089
2010-10-31 07:33:17 +00:00
298827d843 GEPS 006: Add Locality field to Location
svn: r16063
2010-10-27 18:13:53 +00:00
209b34f359 various fixes and additions for GEP 021'
svn: r16043
2010-10-24 21:38:56 +00:00
e109e3d743 Merged geps21 branch, changes r15866-16034, into trunk
svn: r16035
2010-10-24 14:43:47 +00:00
c3e527b4fb GEPS 011: Tagging - Extended to Family, Note and Media objects
svn: r16025
2010-10-22 23:22:33 +00:00
5013162ded A new person editor
svn: r15951
2010-10-03 11:39:47 +00:00
371205ec70 Fix surname index for autocompletion
Fix check tool and start with importgrdb upgrade


svn: r15949
2010-10-02 16:01:34 +00:00
7abb29d568 Consistent use of OS detection and host added to Win users.
svn: r15932
2010-09-27 17:54:22 +00:00
f748668c89 GEPS 011: Tagging - Converted to use new database table object
svn: r15921
2010-09-21 17:52:37 +00:00
bf8146b9d1 GEPS 011: Tagging
svn: r15830
2010-08-29 18:36:42 +00:00
7151e07d3a Rewrote autoremove flag workaround
svn: r15795
2010-08-22 06:33:06 +00:00
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
791ab064f8 Renamed GrampsCursor to BsddbBaseCursor
svn: r15689
2010-08-08 22:06:54 +00:00
3e28ee67ec 2059: need a way to compare and merge all objects, by MD Nauta
svn: r15645
2010-07-22 02:16:32 +00:00
6369bb0286 Minor edit
svn: r15428
2010-05-20 18:32:36 +00:00
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
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
bbf2bfe654 Commented out set_pagesize to be compatible with previous versions of gramps (gramps31).
svn: r14880
2010-03-20 13:06:54 +00:00
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
cd90261ff0 Bug 003611: delete/undo/delete sequence causes crash
svn: r14389
2010-02-15 14:14:35 +00:00
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
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
252ef6daee Continued work on GEP008: Move BasicUtils/UpdateCallback.py to gen/updatecallback.py.
svn: r14025
2010-01-10 20:21:10 +00:00
06d0291ff4 Refinements on database hierarchy
svn: r13907
2009-12-24 14:38:39 +00:00
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
699dcb13fe Fixed svn Id property
svn: r13881
2009-12-21 13:43:50 +00:00
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
f272ce3dd1 Move gtk-based items out of scope of import for cli
svn: r13599
2009-11-16 22:39:54 +00:00
f186d8bce8 fix bug on database errors; remove bsddb transaction for batch operations
svn: r13283
2009-10-01 20:38:23 +00:00
9b586eaf4f 1. Enhance cursor.py to support updating records after reading them
2. Implement enhancement in write.py, get_cursor method
3. Exploit new capability in ChangeNames.py

svn: r13237
2009-09-23 20:07:58 +00:00
311d9b16b9 Silently accept "not found" errors when deleting database files
svn: r13215
2009-09-16 20:31:28 +00:00
03dc41bff9 Documentation updates
svn: r13183
2009-09-09 14:43:55 +00:00
768ea89a0f Remove deprecated method
svn: r13164
2009-09-07 16:22:12 +00:00
54d4bf6134 Add function decorator to catch dabatase errors
svn: r13163
2009-09-07 16:19:59 +00:00
be1aaf9f7b restore set_name_group_mapping method
svn: r13161
2009-09-05 23:03:31 +00:00
ee9f1e82e0 Tweaks to database objects plus initial documentation in rst format
svn: r13157
2009-09-03 19:44:01 +00:00
00d6b8cd50 Fix write.py to do imports from gen.db
svn: r13148
2009-09-01 17:43:54 +00:00
4e8f59c4bd grampsdbtxn.py module renamed to txn.py
svn: r13141
2009-08-31 19:07:41 +00:00
1587cb8ad1 Implement restructured database objects
svn: r13139
2009-08-31 18:42:29 +00:00
ae404f496f Latest updates to new modules
svn: r13101
2009-08-21 20:06:11 +00:00
c8f7bf0c69 Add new modules to support restructured database objects
bsddbtxn.py -- Wrapper for BSDDB DBTxn to support context manager protocol
    txn.py      -- GrampsDbTxn class to manage atomic transactions
    write.py    -- GrampsDbWrite class for read/write databases
    read.py     -- GrampsDbRead class for read-only databases
    undoredo.py -- GrampsDbUndo class to manage the undo database
    upgrade.py  -- Helper module for upgrading a database at open time


svn: r13078
2009-08-19 17:05:39 +00:00