Commit Graph

12775 Commits

Author SHA1 Message Date
Doug Blank
3d2b06a66a 2007-11-24 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/gen/lib/date.py: had to import calendar by path.name
	  (so that the import of date_test would work)
	* src/gen/lib/test: new test directory
	* src/gen/lib/test/date_test.py: unittests for date.py



svn: r9397
2007-11-24 16:35:57 +00:00
Jérôme Rapinat
b3d12508ca svn: r9396 2007-11-24 14:18:21 +00:00
Benny Malengier
49491384c9 2007-11-24 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditPerson.py: callback family update bug removed



svn: r9394
2007-11-24 13:53:04 +00:00
Jérôme Rapinat
bea7f00011 svn: r9393 2007-11-24 11:10:57 +00:00
Jérôme Rapinat
e9f8590f25 /src/DataViews/_PersonView use correct TransUtils for action|_Edit
svn: r9391
2007-11-23 16:23:07 +00:00
Benny Malengier
f000b4575a * src/plugins/rel_nl.py: new half sibling types
* src/plugins/rel_it.py: new half sibling types
	* src/Relationship.py: change the sibling type to distinguish
	side of relation. Correct bug in sibling type determination.

2007-11-23 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9390
2007-11-23 15:02:30 +00:00
Benny Malengier
5a37ee41ea * src/DataViews/_RelationView.py: tooltip cleanup, see also #256
2007-11-23 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9389
2007-11-23 09:05:04 +00:00
Benny Malengier
36ac2f8190 2007-11-23 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/all_relations.py: remove unnecessary import
	* src/plugins/siblings.py: add sibling relation if not normal
	* src/Relationship.py: improve sibling type calculation
	Issue #1323



svn: r9388
2007-11-23 08:27:11 +00:00
Jérôme Rapinat
ebc943ed08 /src/plugins/rel_fr.py typo
svn: r9387
2007-11-22 17:02:07 +00:00
Jérôme Rapinat
1166a2482a /src/plugins/rel_fr.py use alternative for STEP
svn: r9386
2007-11-22 16:57:32 +00:00
Benny Malengier
28de76d2c0 * src/Config/_GrampsConfigKeys.py: key for gen search depth
* src/GrampsCfg.py: Gramps preferences allows to set search depth
			of relationship.
	* src/Relationship.py: methods to change generation depth of search
	* src/plugins/rel_fr.py: remove depth use
	* src/plugins/all_relations.py: use depth, correct remark print error
	* src/plugins/rel_pl.py: remove depth use
	* src/DisplayState.py: hook to change relclass depth from GrampsCfg
	See also issue #1290

2007-11-22 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9385
2007-11-22 16:13:10 +00:00
Benny Malengier
0dca36536d * src/Relationship.py: remove old methods that are no longer used,
get_relationship() and get_relationship_distance()

2007-11-22 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9384
2007-11-21 23:34:41 +00:00
Benny Malengier
14885c719e 2007-11-22 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/relcalc.glade: don't do connect in glade, we need key
	* src/plugins/Leak.py: use os.sep, not + '/'
	* src/plugins/RelCalc.py: Don't keep recalculating relation map of the
	active person, do it once. 50% faster. Make sure all objects can be
	collected by the garbage collector
	* src/Relationship.py: allow to connect to database. Map of first 
	person is stored, only to be removed if database changed, or it
	concerns a different person. This reduces calculation with 50%
	* src/DisplayState.py: don't recalculate home person every time, don't
	call relationship calc on every click, only call it when the people
	are different



svn: r9383
2007-11-21 23:15:10 +00:00
Doug Blank
d6deb0c95b * src/gen/lib/date.py: added comparison operator for match()
* src/Utils.py: uses new match comparison

2007-11-21  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r9382
2007-11-21 20:05:18 +00:00
Doug Blank
d692868ce0 Fixed error in setting None values
svn: r9381
2007-11-21 15:11:14 +00:00
Doug Blank
5975600e6a typo
svn: r9380
2007-11-21 14:55:19 +00:00
Doug Blank
9ee75010b6 2007-11-21 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/Utils.py: probably_alive now takes date rather than year
	* src/gen/proxy/living.py: create date from year
	* src/gen/lib/date.py: added methods to do date math
	  and return Date object (set_yr_mon_day_offset, copy_offset_ymd)
	* src/plugins/Calendar.py: updated to use probably alive date
	* src/Filters/Rules/Person/_ProbablyAlive.py: parse entry as date



svn: r9379
2007-11-21 14:49:50 +00:00
Jérôme Rapinat
f8076631d3 /po/fr.po update
svn: r9377
2007-11-21 14:29:32 +00:00
Jérôme Rapinat
858688c3b9 /po/fr.po regression issue
svn: r9375
2007-11-20 14:55:29 +00:00
Jérôme Rapinat
30fd8b8604 src/ReportBase/Makefile.am add missing _GraphvizReportDialog reference
svn: r9374
2007-11-20 14:53:49 +00:00
Jérôme Rapinat
368b5f0c27 ChangeLog update Makefile for plugins
svn: r9372
2007-11-20 11:49:01 +00:00
Jérôme Rapinat
6437ee5d68 src/plugins/Makefile.am update
svn: r9371
2007-11-20 11:46:19 +00:00
Jérôme Rapinat
7b2f3a78b0 po/fr.po update
svn: r9370
2007-11-19 18:44:20 +00:00
Alex Roitman
5d01d158a1 2007-11-19 Alex Roitman <shura@gramps-project.org>
* src/docgen/Makefile.am (dist_pkgdata_DATA): Use proper name.



svn: r9369
2007-11-19 15:49:37 +00:00
Brian Matherly
93a208dcf1 Fix crash with alternate parents in Individual Complete Report.
svn: r9368
2007-11-19 13:00:53 +00:00
Benny Malengier
3438c8973d 2007-11-19 Benny Malengier <benny.malengier@gramps-project.org>
* src/Relationship.py: many improvements and bug fixes
	* src/plugins/all_relations.py: bug fixes
	* src/plugins/RelCalc.py: use new API
	* src/plugins/rel_nl.py: finished, removed comment
	* src/plugins/rel_it.py: finished
	* src/plugins/rel_pl.py: move old code here away from Relationship
	* src/plugins/rel_pt.py: import gen.lib



svn: r9367
2007-11-18 23:39:14 +00:00
Brian Matherly
690b0bdb3c Fix 0001361: Web report: Directory name conflicts
svn: r9366
2007-11-18 14:19:33 +00:00
Martin Hawlisch
e7696a3a51 * src/DisplayModels/_RepositoryModel.py: Properly display the city
svn: r9365
2007-11-17 22:20:46 +00:00
Jérôme Rapinat
57d0b55a95 ChangeLog update commits
svn: r9364
2007-11-17 08:07:36 +00:00
Stéphane Charette
2e90dd01a2 issue 1381, Confidence:Normal
svn: r9363
2007-11-17 06:06:43 +00:00
Stéphane Charette
1ae2e1aa28 translation update
svn: r9362
2007-11-17 05:17:45 +00:00
Benny Malengier
8ae7f03c04 changed comment
svn: r9361
2007-11-16 21:27:42 +00:00
Benny Malengier
6757c09f9e Remove rellibsrc/plugins/rel_pt.py
svn: r9360
2007-11-16 21:03:23 +00:00
Martin Hawlisch
0e061b25a4 * de.po: Small updates
svn: r9359
2007-11-16 18:52:48 +00:00
Jérôme Rapinat
353ee30217 po/fr.po update
svn: r9358
2007-11-16 17:11:45 +00:00
Jérôme Rapinat
8c0b4cb5ab src/DataViews/_PersonView.py typo for gettext context
svn: r9357
2007-11-16 17:03:56 +00:00
Jérôme Rapinat
3f6d58dbde /src/PageView.py typo for gettext context
svn: r9356
2007-11-16 16:59:52 +00:00
Jérôme Rapinat
7319fb97cb src/glade patch issue #1367
svn: r9355
2007-11-16 16:53:56 +00:00
Martin Hawlisch
802f0eb33f Trying to fix unicode filename handling on Windows. Patch ported from 2.2.
svn: r9354
2007-11-16 16:45:45 +00:00
Benny Malengier
5cf5857bed 2007-11-16 Jerome Rapinat <romjerome@yahoo.fr>
* src/glade/gramps.glade: correct mnemonic_widget
	* src/glade/edit_person.glade: correct mnemonic_widget
	ticket #1367



svn: r9353
2007-11-16 09:01:39 +00:00
Martin Hawlisch
68129b0525 Move date tests from TestcaseGenerator to seperate plugin
svn: r9352
2007-11-16 08:14:57 +00:00
Martin Hawlisch
df3c42318b Remember Seting of the PedigreeView in the config
svn: r9351
2007-11-16 07:59:05 +00:00
Martin Hawlisch
18e8815395 svn:ignore some more files
svn: r9350
2007-11-16 07:38:39 +00:00
Martin Hawlisch
ae7fa35a16 svn:ignore *.pyc
svn: r9349
2007-11-16 07:28:46 +00:00
Brian Matherly
978d7b2987 0001369: Cannot translate (LivingProxy) references on NarrativeWeb dialog
svn: r9348
2007-11-13 12:46:56 +00:00
Benny Malengier
509b9b918a 2007-11-13 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/GraphViz.py: issue #1362, code generation should not show
	open with ghostview, ..., instead show app with text/plain.



svn: r9347
2007-11-13 10:33:27 +00:00
James G Sack
3e196650b5 minor fix and update to test code
svn: r9345
2007-11-13 08:10:00 +00:00
Martin Hawlisch
a73c35757d * src/TipOfDay.py: Catch exceptions when parsing the tips file.
svn: r9344
2007-11-13 07:38:36 +00:00
Gary Burton
fc46116056 2007-11-12 Gary Burton <gary.burton@zen.co.uk>
* src/ScratchPad.py: fixed a crash when building tooltip. Not enough
	place holders in format string



svn: r9342
2007-11-12 21:28:02 +00:00
Peter Landgren
7e4887722b Clean up of translation of baptism/christening
svn: r9341
2007-11-12 20:20:15 +00:00