Commit Graph

12849 Commits

Author SHA1 Message Date
Doug Blank
d2be7227f5 * src/ReportBase/_MenuOptions.py: removed/moved to PluginUtils
* src/ReportBase/__init__.py: removed Menu items
	* src/plugins/Calendar.py: uses MenuReportOptions
	* src/plugins/DescendChart.py: uses MenuReportOptions
	* src/plugins/AncestorChart.py: uses MenuReportOptions
	* src/plugins/GVHourGlass.py: uses MenuReportOptions
	* src/plugins/FanChart.py: uses MenuReportOptions
	* src/PluginUtils/__init__.py: imports Menu items

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


svn: r9424
2007-11-28 23:33:40 +00:00
Doug Blank
3a7c546917 2007-11-28 Douglas S.Blank <dblank@cs.brynmawr.edu>
* src/ReportBase/_MenuOptions.py: removed global need for gtk here



svn: r9422
2007-11-28 22:21:18 +00:00
Benny Malengier
e8f08492bc 2007-11-28 Benny Malengier <benny.malengier@gramps-project.org>
* example/gramps/example.gramps: correct 3.0 example.gramps, stext is
	no longer used, xml no longer sorted on id on ouput.
	* src/gen/db/base.py: remove test code from Don



svn: r9421
2007-11-28 09:24:00 +00:00
Espen Berg
1795bbe762 Updated POTFILES.in due to Norwegian date handler/display
svn: r9420
2007-11-27 20:25:03 +00:00
Espen Berg
c8eeede587 Norwegian date handler applied
svn: r9419
2007-11-27 20:14:04 +00:00
Benny Malengier
4fb394530e 2007-11-27 Benny Malengier <benny.malengier@gramps-project.org>
* src/glade/gramps.glade: remove internal from addmedia
	* src/AddMedia.py: remove internal
	* src/Editors/_EditMedia.py: remove internal note code
	Note: no upgrade code for this. Old internal notes will be connected to 
	a media object with type 'Note' and have as type 'Media Note', 
	up to the case a user deletes these media and changes note type to eg
	report or changes the path to a real media object.



svn: r9418
2007-11-27 19:51:45 +00:00
Espen Berg
cbffb044c5 Norwegian translation updated
svn: r9417
2007-11-27 19:31:55 +00:00
Jérôme Rapinat
0614860e9f svn: r9416 2007-11-27 12:16:56 +00:00
Benny Malengier
f42d1870c5 2007-11-27 Benny Malengier <benny.malengier@gramps-project.org>
* src/ManagedWindow.py: new call_modal method. 
				Reports tools should use that
	* src/GrampsWidgets.py: improve a text string
	* src/plugins/NarrativeWeb.py: use call_modal, trunkate long filter
				names, better placement of selector note/media
	* src/ReportBase/_BareReportDialog.py: reports are modal but not 
				transient, remove bug to make them transient!



svn: r9415
2007-11-27 10:05:24 +00:00
Benny Malengier
1b9bb894c3 2007-11-26 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/NarrativeWeb.py: new select 
contact-header-footer-intro
	* src/GrampsWidgets.py: widget for new select


svn: r9414
2007-11-26 21:53:58 +00:00
James G Sack
f9304ef86c revert r9411 -- better leave it broken
svn: r9412
2007-11-26 11:19:07 +00:00
James G Sack
f6b5ac971e #1096 (interim?) fix by testing isfile() before the remove()
svn: r9411
2007-11-26 10:21:18 +00:00
James G Sack
63a3f8479b switch CLI import to TEMP_DIR location; see new Utils functs
svn: r9409
2007-11-26 05:41:04 +00:00
James G Sack
97a720945f remove accidentally committed trial code
svn: r9408
2007-11-26 05:22:20 +00:00
James G Sack
ecfa4aa0c0 add USER_xxx constants to const, use them
svn: r9407
2007-11-26 05:11:19 +00:00
James G Sack
88f23700a0 #1397 add GrampsDbException handler in CLI import path (grdb not handled)
svn: r9406
2007-11-26 04:43:00 +00:00
James G Sack
f1e80ba499 really check-in regrtest this time
svn: r9405
2007-11-26 01:42:09 +00:00
James G Sack
db81451083 make date_test regrtest-compatible, minor tweak to regrtest
svn: r9404
2007-11-26 01:15:56 +00:00
Benny Malengier
ac82ef8754 2007-11-25 Benny Malengier <benny.malengier@gramps-project.org>
* src/gen/lib/notetype.py: type report, citation
	* src/plugins/NarrativeWeb.py: new selection of home note & home media
	* src/GrampsWidgets.py: NoteEntry, MediaEntry
	I intend to change the other note selectors likewise next.


svn: r9403
2007-11-25 19:07:50 +00:00
Doug Blank
5fdffbe292 * src/gen/lib/date.py: refer to Config values via Config.get()
* src/gen/lib/test/date_test.py: set Config values before testing

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


svn: r9402
2007-11-25 18:13:19 +00:00
Doug Blank
0e82517d94 2007-11-25 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/Config/_GrampsGconfKeys.py: fixed changes in gconf interface



svn: r9401
2007-11-25 17:32:20 +00:00
Doug Blank
36c73d38b3 2007-11-25 Douglas S.Blank <dblank@cs.brynmawr.edu>
* src/gen/lib/test/date_test.py: turned each test into a case



svn: r9400
2007-11-25 05:16:12 +00:00
Jérôme Rapinat
8212127ecf /src/plugins/rel_fr.py update
svn: r9399
2007-11-24 19:47:04 +00:00
Benny Malengier
40d9440e86 2007-11-24 Benny Malengier <benny.malengier@gramps-project.org>
* src/GrampsWidgets.py: ObjEntry, PlaceEntry and NoteEntry inherit from 
it.


svn: r9398
2007-11-24 16:57:45 +00:00
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