Nick Hall
bb41511fc4
Add get_divorce_or_fallback function
...
svn: r16352
2011-01-09 00:05:38 +00:00
Doug Blank
67cb93a28c
3719: Pedigree View: should display engagement date if no marriage known; added markup dates to family view to show fallback dates, and invalid dates; pedigreeview shows abbrev. date with markup, and tooltip details
...
svn: r16250
2010-12-05 17:58:56 +00:00
Benny Malengier
1fee4971f4
4333: memory leak in 3.2
...
svn: r16089
2010-10-31 07:33:17 +00:00
Doug Blank
2842f8e8a5
3131: sibling quickview doesn't reflect person view
...
svn: r15033
2010-04-05 02:53:32 +00:00
Doug Blank
ad569fc0d9
Allows unicode strings in config .ini files
...
svn: r14424
2010-02-21 12:59:34 +00:00
Gerald Britton
8f0582df8a
Use built-in functions to replace for loops:
...
Old code:
for x in y:
f(x)
New Code:
map(f, y)
Also use defaultdict instead of simple dict when advantageous and use list comprehensions
instead of for loops where map() could be used but requires lambdas.
svn: r14135
2010-01-25 17:45:21 +00:00
Doug Blank
4fd46fe669
Moved plugins to ~/.gramps/gramps32/plugins and ini to ~/.gramps/gramps32/
...
svn: r14110
2010-01-24 12:18:30 +00:00
Doug Blank
e2bbd220bb
Bug in comparing defaults if no deepcopy
...
svn: r14087
2010-01-17 20:23:56 +00:00
Doug Blank
bd15fa674a
Refined API: better arg names, and better docstring; allow config to get path implicitly, ala our Glade API
...
svn: r14085
2010-01-17 13:47:26 +00:00
Doug Blank
8830a4c762
3506: Allow third-party plugins (addons) to have their own config.ini file
...
svn: r14030
2010-01-11 14:29:29 +00:00
Brian Matherly
1fa4e8d66c
Continued work on GEP008: move gen/utils/longop.py, gen/utils/progressmon.py, ProgressDialog.py into gui/widgets/progressdialog.py.
...
svn: r13980
2010-01-06 05:27:28 +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
3edeee83f2
Moved fallback functions from Db to gen.utils
...
svn: r13877
2009-12-21 05:59:47 +00:00
Doug Blank
3a8b4d7e40
Moved fallback functions from Db to gen.utils
...
svn: r13876
2009-12-21 05:58:55 +00:00
Doug Blank
7558a4b8de
Moved configmanager code to gen/utils so other parts of gramps can use configman
...
svn: r13874
2009-12-21 04:41:56 +00:00
Doug Blank
1fdb6c4b2c
Removed gen.utils.dbutils
...
svn: r13873
2009-12-21 04:22:14 +00:00
Doug Blank
872e971fd3
gen.lib and gen.utils are independent; removed gen.utils.dbutils --- moved db methods to gen.db.base
...
svn: r13872
2009-12-21 04:18:31 +00:00
Doug Blank
e091da41de
Refinements and tests for cancelling processes
...
svn: r13719
2009-12-06 00:36:10 +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
Raphael Ackermann
f6409fe94f
fixed typos
...
svn: r12924
2009-08-08 19:10:36 +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
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
70a0c50fca
Use GrampsCursor as a context manager using "with" statement
...
svn: r12672
2009-06-16 15:49:17 +00:00
Benny Malengier
fb3ec68c6a
part 3 : split basedoc in files, remove Utils dependance, move fontscale in gen,
...
update build system
svn: r12603
2009-05-31 14:59:56 +00:00
Gerald Britton
5eb7e18dc6
Bug 3018: ImportGrdb: remove calls to keys() dictionary method where possible
...
svn: r12572
2009-05-26 20:48:09 +00:00
Gerald Britton
fc90d5fce2
Bug 3018: remove calls to keys() dictionary method where possible
...
svn: r12562
2009-05-22 18:43:40 +00:00
Gerald Britton
882199f1c2
Replace dict.has_key(x) with x in dict for performance gain
...
svn: r10874
2008-07-17 18:10:32 +00:00
Gerald Britton
4982292774
Code optimizations wrt handling of None - bug 2212
...
svn: r10811
2008-06-16 15:01:46 +00:00
Brian Matherly
3a98ddd4fd
0002122: Detailed Ancestor Report reports people as buried who have no birth events (contributed by Gerald Britton <gerald.britton@gmail.com>)
...
svn: r10781
2008-06-02 00:59:14 +00:00
Zsolt Foldvari
998908175f
Issue #0002175 : Change type() expressions to isinstance() expressions.
...
Patch from Gerald Britton <gerald.britton@gmail.com>
svn: r10762
2008-05-25 19:55:47 +00:00
James G Sack
54faf32fee
fix r10099 oversight, also improve callback_test.py
...
svn: r10140
2008-02-29 05:15:00 +00:00
Raphael Ackermann
c962d5e6e1
2008-02-22 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* various (294 files)
pep8 doc fixes & pylint fixes
svn: r10103
2008-02-24 13:55:55 +00:00
Don Allingham
d45a676492
2008-02-20 Don Allingham <don@gramps-project.org>
...
* src/GrampsCfg.py: refactoring
* src/gen/utils/test/callback_test.py: refactoring
* src/gen/utils/callback.py: refactoring
* src/gen/utils/longop.py: refactoring
* src/gen/utils/__init__.py: refactoring
* src/gen/db/base.py: refactoring
* src/gen/Makefile.am: refactoring
* src/DisplayState.py: refactoring
* src/DbState.py: refactoring
* src/PluginUtils/_MenuOptions.py: refactoring
* src/ListModel.py: refactoring
* src/BaseDoc.py: refactoring
svn: r10086
2008-02-21 04:58:56 +00:00
Raphael Ackermann
90f883e46d
2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/* 143 files
* test/try_tree_model.py
* windows/nsis/gcheck.py
imports cleanup
svn: r10055
2008-02-18 20:07:09 +00:00
Raphael Ackermann
506eb32637
2008-01-24 Raphael Ackermann <raphael.ackermann@gmail.com>
...
Removed all the __author__, __revision__ and __version__ statements
svn: r9928
2008-01-24 20:38:10 +00:00
Raphael Ackermann
bbe2cc6d4e
2008-01-22 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/* Everything but src/images/* and src/data/* add correct svn
properties with the commands:
svn propset -R svn:mime-type text/plain src/
svn propset -R svn:eol-style native src/
svn propset -R svn:keywords Id src/
See below why the Id keyword is enough. From svn help propset
svn:keywords - Keywords to be expanded. Valid keywords are:
URL, HeadURL - The URL for the head version of the object.
Author, LastChangedBy - The last person to modify the file.
Date, LastChangedDate - The date/time the object was last modified.
Rev, Revision, - The last revision the object changed.
LastChangedRevision
Id - A compressed summary of the previous
4 keywords.
svn: r9912
2008-01-22 09:17:46 +00:00
Raphael Ackermann
2857943955
2008-01-09 Raphael Ackermann <raphael.ackermann@gmail.com> From PEP8 Always use 'self' for the first argument to instance methods.
...
svn: r9767
2008-01-09 16:47:56 +00:00
James G Sack
fb025aa2bd
add comment about int4entional undefined function
...
svn: r9755
2008-01-08 21:45:06 +00:00
Brian Matherly
bf3900f043
Patch from Raphael Ackermann <raphael.ackermann@gmail.com> -- Fix 0001538: tabs and spaces are mixed in some source files
...
svn: r9713
2008-01-05 20:10:26 +00:00
James G Sack
7216c72509
fix confusing dup function name (fn -> fn3)
...
svn: r9618
2007-12-29 03:00:46 +00:00
Benny Malengier
027036a8c5
2007-12-09 Benny Malengier <benny.malengier@gramps-project.org>
...
Add support for name grouping import/export
* src/GrampsDb/_GrampsDbWriteXML.py: write group table out
* src/GrampsDb/_GrampsBSDDB.py: group table is no sec table, init it
together with primary tables!
* src/gen/db/base.py: obtain grouping keys
* src/gen/db/dbdir.py: group table is no sec table, init it
together with primary tables!
* src/gen/utils/dbutils.py: grdb -> grdb copy of grouping table,
copy mediapath.
* src/gen/proxy/proxybase.py: obtain grouping keys, add missing
bookmark methods
* src/gen/proxy/dbbase.py: add obtain grouping keys method
* src/GrampsDbUtils/_ReadXML.py: read in group table
* src/plugins/ReadGrdb.py: read in group table
svn: r9464
2007-12-09 10:18:59 +00:00
James G Sack
2adea9a5f5
extract test code to seperate (_test) module
...
svn: r9302
2007-11-06 05:37:29 +00:00
Martin Hawlisch
aa0a835330
* src/gen/lib/Makefile.am, src/gen/db/Makefile.am, src/gen/proxy/Makefile.am, src/gen/utils/Makefile.am: Fix path structure
...
svn: r9295
2007-11-04 20:41:12 +00:00
Don Allingham
99febc759f
* various: cleanup
...
2007-10-08 Don Allingham <don@gramps-project.org>
svn: r9109
2007-10-08 21:19:32 +00:00
Don Allingham
d58641415d
2007-10-08 Don Allingham <don@gramps-project.org>
...
* various: gen.lib integration. probably touches almost every file
* various: gen.utils integration
svn: r9101
2007-10-08 16:41:39 +00:00
Don Allingham
8038bc0dca
2007-10-07 Don Allingham <don@gramps-project.org>
...
* various: gen.utils integrationk
svn: r9100
2007-10-08 04:02:34 +00:00