Gerald Britton
a19e65073c
Use built-in map function to simplify some list comprehensions
...
svn: r16636
2011-02-16 20:06:40 +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
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
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
Benny Malengier
1fee4971f4
4333: memory leak in 3.2
...
svn: r16089
2010-10-31 07:33:17 +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
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
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
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
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
Doug Blank
2df0322aef
3958: Extremely slow gedcom import
...
svn: r15400
2010-05-13 11:08:20 +00:00
Benny Malengier
a89e8d1d18
Remove column config from db, move to the plugins
...
Start with reuse of preferences for all configuration
Allow all view plugins to set configuration dialog
TODO: activate the column reorder in config of listviews
svn: r14176
2010-02-01 07:01:45 +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
Doug Blank
f415159d6f
Revised iterable table interface; removed DbEngine and DbTable
...
svn: r14048
2010-01-12 18:38:39 +00:00
Doug Blank
95bb81a54c
Missing underscore
...
svn: r14036
2010-01-11 20:34:47 +00:00
Doug Blank
bdefba55ca
Towards an DbEngine, for a variety of reasons
...
svn: r14035
2010-01-11 19:45:17 +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
785184e74f
3339: [Patch] Views get their column display data from db (meta); should get from config ini
...
svn: r13709
2009-12-05 06:52:53 +00:00
Benny Malengier
1b556586a4
3275: PageView reworking main work by Nick Hall
...
Moving personview to the new pageview classes, and using a generic
treebasemodel
svn: r13515
2009-11-07 13:04:45 +00:00
Gerald Britton
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
Gerald Britton
ee9f1e82e0
Tweaks to database objects plus initial documentation in rst format
...
svn: r13157
2009-09-03 19:44:01 +00:00
Gerald Britton
3564b04584
1. Implement iter_<object> methods in proxybase.
...
2. Change include_object to include_media_object to avoid confusion
3. Make _validated_id_prefix method in read.py a staticmethod
4. Use new iter_<objects> methods in Records.py, StatsgGramplet.py, GivenNameGramplet.py, ExtractCity.py and _IsSiblingOfFilterMatch.py as examples
svn: r13151
2009-09-02 20:10:45 +00:00
Gerald Britton
5fc1618a85
1. Use closures to define iterator methods
...
2. Change sorts on people and places to work like other sorts
svn: r13149
2009-09-01 17:46:08 +00:00
Gerald Britton
ae404f496f
Latest updates to new modules
...
svn: r13101
2009-08-21 20:06:11 +00:00
Gerald Britton
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