20 Commits

Author SHA1 Message Date
Nick Hall
c665b8d262 Improve gen.db documentation
Convert old markup to reStructuredText.
Use warning and todo directives where appropriate.
Add some new links to classes and methods.
Use consistent case for "Gramps".
2013-11-10 23:34:10 +00:00
Doug Blank
b0517d0ee4 Added db.get_transaction_class to connect db and txn; refactored _tables metadata 2013-11-10 15:07:14 -05:00
Nick Hall
d6ae8cffb4 GEPS 6: Implement place hierarchy
svn: r23444
2013-11-01 19:13:16 +00:00
Doug Blank
e06051fa7c Allow to be used without bsddb installed, for uses where it is not needed (webapp and other uses)
svn: r23371
2013-10-23 02:00:38 +00:00
Benny Malengier
bf29e57039 2332: Allow reorder of Data in the Data tab of Source: make Data SourceAttribute, which have sourcetype,
link with GEPS 018: Evidence
This is step 1 needed for GEPS 018. All types are defined needed to evidence style references
This commit also contains fix for 6777: Crash on export to GEDCOM when there are addresses


svn: r22423
2013-05-26 19:28:57 +00:00
John Ralls
00aa00fbf5 GrampsLocale: Remove get_translation()
Only one base translation per locale. To set up a different locale
on any axis (locale, domain, directory, or languages) instantiate a
secondary locale by calling GrampsLocale() with the appropriate
arguments.

svn: r21968
2013-04-12 22:32:11 +00:00
Tim G L Lyons
f2809f4249 0006529: Cancelling database upgrade can corrupt the database. Check whether the bsddb version has changed (or was originally unknown). If it is an upgrade, ask the user whether he has made a backup, and is ready to upgrade. If so, made a zip backup and open the database with the new bsddb version. Make messages on the dialogues more explicit with the version numbers mentioned.
svn: r21852
2013-04-02 16:06:36 +00:00
Benny Malengier
491885b419 clarify use of all_handles methods
svn: r21813
2013-03-29 20:02:54 +00:00
Benny Malengier
7be12778b2 6417: alpha4 filtering screws up Export
svn: r21811
2013-03-29 19:39:21 +00:00
Benny Malengier
c64f64657f Python3 UnicodeDecodeError in python3 on unpickling data saved in python2
svn: r21777
2013-03-28 10:47:48 +00:00
John Ralls
fd61b21a2d GrampsLocale: Replace locale.strcoll, locale.strxfrm, and conv*_tosrtkey
With GrampsLocale.sort_key (for strxfrm and conv*_tosrtkey) and
GrampsLocale.strcoll.

If ICU is available will use the correct ICU::Collator for the locale,
otherwise falls back to locale.strxfrm -- for which it temporarily
changes the LC_COLLATE locale.

svn: r21275
2013-02-01 22:49:14 +00:00
John Ralls
ef6892abbd GrampsLocale: Remove ggettext
svn: r21144
2013-01-17 19:46:55 +00:00
Benny Malengier
620446303f fix error from fix encoding issue for python 3
svn: r21070
2013-01-11 17:20:16 +00:00
Benny Malengier
9155b2feb6 fix encoding issue for python 3
svn: r21055
2013-01-11 13:04:49 +00:00
Doug Blank
91173ba2a8 Bumped trunk to 4.1, updated plugins, requires setup.py build rather than copy of const.py.in, show svn number in version number
svn: r20919
2012-12-31 22:51:11 +00:00
Doug Blank
163545089c If you try to lookup an object too early, you might find that the tbl is still a dict; this protects such early lookups from crashing
svn: r20813
2012-12-21 18:25:37 +00:00
Benny Malengier
1cad822978 2620: GEPS 031: Python 3 support - 3.2
* fix introduced errors: write of reference in db, check in dbloader on string type
 * working import of xml file in python 3


svn: r20659
2012-11-15 10:28:19 +00:00
Benny Malengier
8b39b80dc8 2620: GEPS 031: Python 3 support - 3.2
round 2 for python 3 support:
* no more cmp, also not in sort and sorted
* bsddb needs bytestring keys
* gtk does not need utf-8 encoded anymore...


svn: r20658
2012-11-15 08:08:31 +00:00
Benny Malengier
bb5fc7cb7c 2620: GEPS 031: Python 3 support - 3.2
This does patch updates Gramps to the 3.2 syntax, it does not yet mean Gramps works with python 3.2
Expect next day commits to fix further issues, but this is the main 2to3 tool created patch changed
where needed to have python 2.7 work. 
Specific issues might be:
  1. next has been changed, must be checked
  2. new division as on the wiki page listed is to do
  3. ...


svn: r20634
2012-11-07 17:53:14 +00:00
Benny Malengier
326d604365 GEPS 026: Replace 'make' for Gramps build
If we want to use Gramps from the code directory, src should be called gramps to allow import


svn: r20466
2012-09-30 11:55:52 +00:00