Doug Blank
3be59844d4
Test db should not be in svn; removed
...
svn: r13543
2009-11-10 05:29:10 +00:00
Doug Blank
4ab1467845
New files for gramps webapp; src/data/templates contains html templates, and src/gen/web contains gramps-Django interface
...
svn: r13542
2009-11-10 05:28:35 +00:00
Benny Malengier
19522ec975
GEPS 014: Plugin registration and management
...
Also views are now plugins belonging to view category
svn: r13528
2009-11-08 16:41:49 +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
Doug Blank
e80f108688
Removed walking of links
...
svn: r13509
2009-11-06 15:14:38 +00:00
Doug Blank
aee3e932e1
Added fpath and help_url for plugins
...
svn: r13500
2009-11-05 11:57:19 +00:00
Doug Blank
8143ef6c18
Added localized gettext for registration code
...
svn: r13490
2009-11-03 13:42:37 +00:00
Doug Blank
e83e5effc5
Skip hidden directories, and the po and locale system dirs of gramps-addons
...
svn: r13485
2009-11-03 01:56:27 +00:00
Doug Blank
822586d8a5
Added plugin.fpath to keep track of path; added edit button in plugin window
...
svn: r13484
2009-11-03 01:39:47 +00:00
Nick Hall
200bacb1f5
Add extra sections to Complete Individual Report
...
svn: r13481
2009-11-02 14:57:34 +00:00
Doug Blank
d23721d35f
Allow plugin manager to follow links (so you can add a link in plugins to a development dir)
...
svn: r13479
2009-11-01 15:45:53 +00:00
Doug Blank
ba897a8e0f
Added __file__ to plugin registration environment (to retrieve addon translations)
...
svn: r13477
2009-11-01 14:30:56 +00:00
Benny Malengier
ffd61918c4
fix svn properties
...
svn: r13472
2009-10-31 08:15:10 +00:00
Benny Malengier
61130b11ef
03288: [XML import] Custom family event role type is ignored on Family Events
...
svn: r13447
2009-10-28 16:15:48 +00:00
Doug Blank
b5e9f4ddf0
Added missing traceback import
...
svn: r13440
2009-10-28 10:38:57 +00:00
Brian Matherly
fa10edbfd1
Skip hidden directories when registering plugins.
...
svn: r13429
2009-10-27 01:44:46 +00:00
Doug Blank
bb99cd20b1
Fixed missing expand option on gramplets; added connect/disconnect signal handling; removed signal to update status bar when gramplet doesn't do anything
...
svn: r13428
2009-10-27 00:27:40 +00:00
Benny Malengier
53de46901e
add license to gpr.py files
...
svn: r13424
2009-10-26 19:15:58 +00:00
Doug Blank
7290694c43
Additions for new gen/plug/_grampley.py
...
svn: r13420
2009-10-25 22:37:32 +00:00
Doug Blank
2e327a10cf
Added missing file
...
svn: r13419
2009-10-25 22:32:34 +00:00
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
Raphael Ackermann
7bb8efc479
0003102: Can't run Narrative Website report
...
Added checks for NoneType Objects.
pep8 fixes
svn: r12939
2009-08-09 22:46:55 +00:00
Raphael Ackermann
b33a53e487
fixed typos
...
svn: r12937
2009-08-09 22:43:43 +00:00
Raphael Ackermann
65f72560d1
pep8 fixes
...
fixing typos
svn: r12934
2009-08-09 17:09:32 +00:00
Raphael Ackermann
28c404be58
typos & doc string formatting
...
svn: r12925
2009-08-08 19:11:39 +00:00
Raphael Ackermann
f6409fe94f
fixed typos
...
svn: r12924
2009-08-08 19:10:36 +00:00
Raphael Ackermann
eeac507a40
cleanup (typos, docs, indentation)
...
svn: r12921
2009-08-08 15:52:12 +00:00
Doug Blank
dd1f4f0b26
Added a convienence method __len__ for cursors; you can remove if you don't like
...
svn: r12912
2009-08-07 09:11:13 +00:00
Benny Malengier
ee69317b62
Fix for: 1277: database corroption on delete outside of DisplayTabs while tab open
...
Introduces the concept of callman.py as one single way to follow handles an
interface is interested in.
dbguielement.py contains a small base class using that, usable for all windows/
guielements that need to track database changes to handles
svn: r12881
2009-08-05 10:32:05 +00:00
Doug Blank
d5a9ffe96a
Made StyledTextTag a new-style class by extending object; allows to work with older python's too
...
svn: r12859
2009-08-02 05:25:37 +00:00
Doug Blank
8a7296920f
Use Preferences -> Text -> Private Given name instead of hardcoded _('Living')
...
svn: r12847
2009-07-29 03:28:05 +00:00
Benny Malengier
cf506f544e
fix make install failing
...
svn: r12803
2009-07-16 09:17:40 +00:00
Benny Malengier
2a365f4d99
improve docstrings
...
svn: r12797
2009-07-15 09:16:39 +00:00
Gary Burton
6c855de785
Fix a variety of memory leaks around the PeopleView and model
...
svn: r12791
2009-07-12 19:45:17 +00:00
Gerald Britton
d45f5970fb
add missing iterator methods to filter.py, use get_family_handles instead of the iterator in ExportGedcom.py
...
svn: r12790
2009-07-11 20:11:37 +00:00
Gary Burton
1460750b24
Add missing source_predicate method and doc strings
...
svn: r12787
2009-07-11 15:35:36 +00:00
Gary Burton
215aeb4667
Fix incorrect method name
...
svn: r12786
2009-07-11 15:32:37 +00:00
Gerald Britton
b221f428bf
proxybase tweak to default predicate to None
...
svn: r12784
2009-07-11 04:02:28 +00:00
Gerald Britton
56c79b6fa4
Proxy databases:
...
1. Provide default methods in proxybase.py for get_<object>_handles and iter_<object>_handles
2. Implement callouts in iter_<object>_handles to determine if handles should be included or not
3. Added new methods to dbbase.py raising NotImplementedError for the new iter_<object>_handles methods
4. Implemented new methods in living.py, private.py and referenced.py
5. Changed filter.py to use iter_person_handles instead of get_person_handles
6. Removed duplicate methods from children of ProxyDbBase
svn: r12783
2009-07-10 19:24:43 +00:00
Gerald Britton
181c0c9b41
Replace get_place_handles with iter_place_handles
...
svn: r12778
2009-07-08 18:11:02 +00:00
Gerald Britton
b601f4bdf2
Replace get_family_handles with iter_family_handles
...
svn: r12776
2009-07-08 16:11:20 +00:00
Gerald Britton
f680992d04
Tweaks
...
svn: r12775
2009-07-08 16:10:13 +00:00
Gerald Britton
f7454de7fd
Implement iter_people_handles methods and begin to use them
...
svn: r12760
2009-07-03 20:23:41 +00:00
Benny Malengier
dddcb10dd3
docstring update
...
svn: r12758
2009-07-03 09:23:07 +00:00
Gerald Britton
873f830306
Tweak
...
svn: r12757
2009-07-03 00:29:52 +00:00
Gerald Britton
c919910cca
Tweaks to replace for loops with built-in functions and list comprehensions
...
svn: r12756
2009-07-02 20:01:28 +00:00
Benny Malengier
2b2f132d8c
add ldsordbase to api doc
...
svn: r12753
2009-07-02 08:28:29 +00:00
Gerald Britton
0351c2e6ca
GrampsType: Avoid retranslating literal strings; rearrange metaclass code
...
svn: r12742
2009-06-30 18:29:45 +00:00
Gerald Britton
b0a6f7c854
replace refs to locale.strcoll with refs to locale.strxfrm
...
svn: r12712
2009-06-25 21:09:49 +00:00
Gerald Britton
fdfacd972c
Minor tweaks to use slices instead of lists of items
...
svn: r12705
2009-06-25 13:41:16 +00:00
Benny Malengier
a52bc62be9
2691: Create api documentation with sphinx
...
svn: r12704
2009-06-24 21:56:07 +00:00