Commit Graph

300 Commits

Author SHA1 Message Date
Doug Blank
c8fc4d20dd Added = and == to match for similar and exact text_only date matches
svn: r13417
2009-10-25 21:05:45 +00:00
Doug Blank
6af2d2f30a Step #2 some cleanup: Moved Gramplet class to gen/plug/_gramplet from DataView/GrampletView ; updated gramplets
svn: r13416
2009-10-25 20:29:45 +00:00
Benny Malengier
14dcf94739 3292 register plugins, load on need, not on start of GRAMPS - GEPS 014\nmove grampletview to guipluginmanager
svn: r13409
2009-10-25 15:33:50 +00:00
Doug Blank
975e639dd1 Phase 1 conversion of gramplets to new plugin system
svn: r13406
2009-10-25 14:42:47 +00:00
Benny Malengier
d25cdc3958 3292: register plugins, load on need, not on start of GRAMPS - GEPS 014
Improvements: gen.plug only depends on gen, relationship default is moved
to Relationship.py, and config for hidden to a gui.pluginmanager


svn: r13405
2009-10-25 13:52:29 +00:00
Benny Malengier
79b6708163 03292: register plugins, load on need, not on start of GRAMPS - GEPS 014
Part 2: update plugin status: show registered, allow hide/unhide of 
        plugins


svn: r13403
2009-10-24 20:27:10 +00:00
Benny Malengier
ed619cfdd6 3292: register plugins, load on need, not on start of GRAMPS - GEPS 014
svn: r13400
2009-10-24 13:53:20 +00:00
Doug Blank
40b9c7a7ca Fixed three errors in date conversions: set_slash didn't work; set_slash2 was missing; and convert_to calendar needed to clear NEWYEAR and SLASHES
svn: r13395
2009-10-23 00:06:14 +00:00
Brian Matherly
4f55365e97 Add translation detection, translation class and report translation option. Leading up to user configurable report translations.
svn: r13391
2009-10-22 04:22:24 +00:00
Doug Blank
c202f43e9b Fixed two errors: simple str(date) now shows alternate newyear day; match with alt newyear day now works correctly
svn: r13390
2009-10-22 04:15:18 +00:00
Doug Blank
99282aa715 3272: Proposal for updating config settings
svn: r13346
2009-10-08 01:12:51 +00:00
Doug Blank
435aca1e95 Report format type of error
svn: r13307
2009-10-05 12:53:46 +00:00
Doug Blank
86e744cc19 One set of Swedish tests is ok
svn: r13305
2009-10-05 11:21:22 +00:00
Doug Blank
09497d5576 Fixed error in sorting date spans, and refined span comparisons
svn: r13303
2009-10-04 15:13:07 +00:00
Doug Blank
ae4c341777 Fixed error in assert, which revealed some errors in testing Swedish dates
svn: r13302
2009-10-04 15:11:30 +00:00
Gerald Britton
f186d8bce8 fix bug on database errors; remove bsddb transaction for batch operations
svn: r13283
2009-10-01 20:38:23 +00:00
Doug Blank
0c856f59f5 Added get_gedcom_name formatter to Name to allow sharing
svn: r13251
2009-09-26 01:05:08 +00:00
Doug Blank
8883fe0f97 Moved gedcom date constants and functions to gen.lib.date so they can be shared
svn: r13249
2009-09-25 20:45:05 +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
311d9b16b9 Silently accept "not found" errors when deleting database files
svn: r13215
2009-09-16 20:31:28 +00:00
Gerald Britton
eb8ef2152b Remove pdb module from filter.py
svn: r13208
2009-09-15 16:05:28 +00:00
Gerald Britton
966d2bcd42 Use new iter_objects methods
svn: r13203
2009-09-14 20:50:25 +00:00
Gerald Britton
941fff23ae Tweaks to use inplace arithmetic
svn: r13191
2009-09-10 18:49:48 +00:00
Gerald Britton
d5e48cda06 Change to set logic for reduction in storage (no affect on runtime)
svn: r13190
2009-09-10 18:49:13 +00:00
Gerald Britton
03dc41bff9 Documentation updates
svn: r13183
2009-09-09 14:43:55 +00:00
Gerald Britton
768ea89a0f Remove deprecated method
svn: r13164
2009-09-07 16:22:12 +00:00
Gerald Britton
54d4bf6134 Add function decorator to catch dabatase errors
svn: r13163
2009-09-07 16:19:59 +00:00
Gerald Britton
be1aaf9f7b restore set_name_group_mapping method
svn: r13161
2009-09-05 23:03:31 +00:00
Gerald Britton
06458ae1d7 Remove unused methods
svn: r13159
2009-09-04 17:57:00 +00:00
Gerald Britton
20bfbc8719 add from __future__ import with_statement
svn: r13158
2009-09-04 17:20:37 +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
00d6b8cd50 Fix write.py to do imports from gen.db
svn: r13148
2009-09-01 17:43:54 +00:00
Gerald Britton
4e8f59c4bd grampsdbtxn.py module renamed to txn.py
svn: r13141
2009-08-31 19:07:41 +00:00
Gerald Britton
03ee012325 Implement performance-enhanced proxy databases
svn: r13140
2009-08-31 18:43:05 +00:00
Gerald Britton
1587cb8ad1 Implement restructured database objects
svn: r13139
2009-08-31 18:42:29 +00:00
Benny Malengier
43663bbee7 Start with fix up of connects to db in relationview.
Fix calling method of signals to a shorter algorithm based on lambda 
func


svn: r13115
2009-08-24 21:44:15 +00:00
Gerald Britton
ae404f496f Latest updates to new modules
svn: r13101
2009-08-21 20:06:11 +00:00
Peter Landgren
6966e7211a unicode text must be sliced correctly.
svn: r13089
2009-08-20 12:40:38 +00:00
Benny Malengier
5700f6ab66 2863: Wrong row when dropping on embedded list
This patch makes sure open of old database shows correct columns, and 
adds ... if several main participants


svn: r13085
2009-08-20 09:31:10 +00:00
Benny Malengier
5f0c935256 2773: Primary participant(s) in Events View
svn: r13083
2009-08-19 22:27:06 +00:00
Gerald Britton
5b8bc47bce Update makefile to add new modules
svn: r13080
2009-08-19 20:30:40 +00:00
Gerald Britton
b4b9675feb cursor.py -- add additional methods mirroring those in DBCursor and a getattr method to pass through non-overridden method calls to DBCursor
svn: r13079
2009-08-19 17:14:32 +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
Raphael Ackermann
30d6eebd0b 0002542: Crash whilst generating web pages from command line
Throwing Report Error if center person is not in database. Added catching of Report Error to CommandLineReport
if using GUI it is not possible to cause this, as you have to select a person that is in the DB. However on the command line you can specify any PID and even no person with that pid exists an error was thrown.

svn: r13004
2009-08-14 07:14:25 +00:00
Raphael Ackermann
55730240f5 add missing import
svn: r13002
2009-08-14 07:07:55 +00:00
Raphael Ackermann
cf5ee9d657 pep8 & typos
svn: r13001
2009-08-14 07:07:10 +00:00
Raphael Ackermann
c1be765f7a fixed typos
svn: r12984
2009-08-13 08:52:05 +00:00
Raphael Ackermann
5ac76d658b 0002832: Somes modules still use Relib reference on docstring
patch by romjerome

fixed wrong doc string in srcref.py

svn: r12949
2009-08-10 19:46:24 +00:00