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
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
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
Gerald Britton
5e33e5e81d
remove obsolete code
...
svn: r16292
2010-12-16 21:08:41 +00:00
Gerald Britton
cd81324e9a
remove obsolete code
...
svn: r16291
2010-12-16 21:03:39 +00:00
Doug Blank
d9b544c17a
4415: Editing ID format in preferences can throw exception
...
svn: r16227
2010-11-23 04:01:02 +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
d5ce999d30
Only convert main location to new format if it exists
...
svn: r16087
2010-10-30 21:55:39 +00:00
Benny Malengier
5084294a1e
Various fixes for GEP21 and locality
...
* narweb and webcal works again
* proxy filters work
* locality upgrade in repository
* fix progress on upgrade
svn: r16074
2010-10-28 19:56:46 +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
Benny Malengier
0ca48dd811
Working xml export
...
svn: r15948
2010-10-02 13:38:36 +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
Benny Malengier
f111dcbad9
add nick and famnick
...
svn: r15930
2010-09-25 15:11:54 +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
Benny Malengier
bb248fadce
Good progress: * name displayer updated to new structure
...
* person view coded updated
* small change in dbloader so errors can be seen
svn: r15914
2010-09-17 22:13:31 +00:00
Nick Hall
a151bafaff
Fix database upgrade
...
svn: r15832
2010-08-30 10:36:58 +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
Doug Blank
8a25a77c9f
Removed .get_base_db() method as there was already basedb for the same purpose
...
svn: r15484
2010-05-25 23:29:37 +00:00
Doug Blank
a69337b6c6
method for getting base database, if a proxy
...
svn: r15465
2010-05-23 15:44:51 +00:00
Gerald Britton
6369bb0286
Minor edit
...
svn: r15428
2010-05-20 18:32:36 +00:00
Gerald Britton
cd8ded4b37
Updates to undo/redo logic:
...
1. Replace single transaction list with separate undo/redo deques
2. Update UndoHistory GUI to work with new queue setup
3. Add test to txn.py for empty transaction list
svn: r15427
2010-05-20 18:32:08 +00:00
Doug Blank
2df0322aef
3958: Extremely slow gedcom import
...
svn: r15400
2010-05-13 11:08:20 +00:00
Gerald Britton
72e19bb7a9
Updates to undo/redo logic -- part 1
...
svn: r15277
2010-04-23 19:02:24 +00:00
Raphael Ackermann
08728c6bd4
doc typos
...
svn: r15022
2010-04-04 11:03:43 +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