Commit Graph

4150 Commits

Author SHA1 Message Date
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
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
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
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
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
368b5f0c27 ChangeLog update Makefile for plugins
svn: r9372
2007-11-20 11:49:01 +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
Benny Malengier
6757c09f9e Remove rellibsrc/plugins/rel_pt.py
svn: r9360
2007-11-16 21:03:23 +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
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
Benny Malengier
58211b2f79 * src/DataViews/_PersonView.py: translation: Edit object, not menu with action|_Edit
* src/PageView.py: translation: Edit object, not menu with action|_Edit
	issue #1370

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


svn: r9339
2007-11-12 19:43:41 +00:00
Benny Malengier
8f3c7808a1 * src/ViewManager.py: use import image
2007-11-12 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9337
2007-11-12 16:01:31 +00:00
Benny Malengier
14d6cc70d0 2007-11-12 Benny Malengier <benny.malengier@gramps-project.org>
* src/images/gramps-import.png : import image
	* src/gramps_main.py: register import image
	* src/DbLoader.py: Use import not open in import dialog, issue #396



svn: r9336
2007-11-12 15:44:15 +00:00
James G Sack
691baa87a5 fix #1364 typo in LDS_ORD_NAME table
svn: r9332
2007-11-12 08:22:04 +00:00
James G Sack
2d2bebdf5d fix Bug 1358 CLI leftovers
svn: r9331
2007-11-11 18:25:01 +00:00
Benny Malengier
a2be7edd5b 2007-11-10 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/rel_nl.py: inlaw children are allowed
	* src/Relationship.py: inlaw children are allowed



svn: r9330
2007-11-11 11:32:04 +00:00
James G Sack
6485880e4b belated changelog ehtry documanting R9320
svn: r9328
2007-11-11 03:01:15 +00:00
Gary Burton
4d0765cfa6 2007-11-10 Gary Burton <gary.burton@zen.co.uk>
* src/plugins/IndivComplete.py: added support for printing non-primary,
	non-family events.



svn: r9326
2007-11-10 23:11:03 +00:00
Benny Malengier
635ff9e829 2007-11-10 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/all_relations.py: collapse inlaws
	* src/plugins/Ancestors.py: use new calling grandparent string
	* src/plugins/rel_nl.py: change to new API
	* src/plugins/rel_it.py: change comment
	* src/plugins/rel_pl.py: use old filter
	* src/Relationship.py: improvements, protected methods

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


svn: r9325
2007-11-10 14:54:29 +00:00
Benny Malengier
6e329879a4 2007-11-07 Benny Malengier <benny.malengier@gramps-project.org>
* TODO: update
	* src/DisplayTabs/_EventEmbedList.py: catch managed window crash



svn: r9324
2007-11-09 11:51:57 +00:00
Stéphane Charette
4e9f909083 issue #1352, include all children as siblings in relationship view
svn: r9323
2007-11-08 09:12:01 +00:00
Benny Malengier
60fc844167 * src/AddMedia.py: fix issue #1350, relative path not working addmedia
* src/Editors/_EditPerson.py: family rebuild callback error

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


svn: r9317
2007-11-07 18:49:14 +00:00
Benny Malengier
070be15e0d 2007-11-07 Benny Malengier <benny.malengier@gramps-project.org>
* src/AddMedia.py: media crash, fix issue #1349, change unicode to Utils



svn: r9316
2007-11-07 11:11:41 +00:00
Benny Malengier
9147ed2a9a * src/plugins/all_relations.py: english issues
* src/Relationship.py: english issues

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


svn: r9313
2007-11-06 19:46:07 +00:00
Benny Malengier
5cc8a5357b * src/Relationship.py: fix error with nephew, niece
2007-11-06 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9312
2007-11-06 18:58:44 +00:00
Benny Malengier
f6d4bf1b60 * src/gramps.py: text error, issue #1342
2007-11-06 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9310
2007-11-06 14:36:24 +00:00
Benny Malengier
7f973965e7 2007-11-06 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/all_relations.py: refractor, use class
	* src/Relationship.py: further improvements
	* src/plugins/rel_pl.py: rename procedure to avoid conflict
	* src/plugins/rel_it.py: start of changes
	* src/DisplayState.py: use the new method get_one_relation



svn: r9308
2007-11-06 10:44:17 +00:00
James G Sack
013b725dc1 add missing gettext import
svn: r9307
2007-11-06 08:18:18 +00:00
James G Sack
9a9ad2d44e fix broken ansel input module by porting (updated) 2.2 version;minor fix to test_util_test.py
svn: r9306
2007-11-06 08:07:15 +00:00
James G Sack
e7e34deced extract test code to seperate (_test) module
svn: r9303
2007-11-06 06:06:04 +00:00
James G Sack
2adea9a5f5 extract test code to seperate (_test) module
svn: r9302
2007-11-06 05:37:29 +00:00
James G Sack
84a7a512f8 unittest framework kickoff
svn: r9301
2007-11-06 03:51:21 +00:00
James G Sack
8f2a4ca8c7 remove 2 configure-generated files from version control
svn: r9297
2007-11-05 22:17:46 +00:00
Stéphane Charette
535ba0f64a fix first part of issue #1280
svn: r9296
2007-11-05 07:16:10 +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
Stéphane Charette
1ac7e09eff limit image size in gallery
svn: r9294
2007-11-04 03:29:58 +00:00
Gary Burton
bdd2c23393 2007-11-03 Gary Burton <gary.burton@zen.co.uk>
* src/plugins/DetDescendantReport.py
	* src/plugins/DetAncestralReport.py
	Added functionality to print event and event reference notes. issue #1335



svn: r9292
2007-11-03 22:08:34 +00:00
Stéphane Charette
0aefbc706a issue #1340, don't display mime-type
svn: r9290
2007-11-03 05:43:12 +00:00
Martin Hawlisch
438302d10d * src/plugins/TestcaseGenerator.py: finalize RelLib -> gen.lib transitition
svn: r9289
2007-11-01 21:41:18 +00:00
Martin Hawlisch
63202e3630 * configure.in: We have a runtime check for Python 2.5. Do the same here by using AM_PATH_PYTHON(2.5)
svn: r9288
2007-11-01 17:37:10 +00:00
James G Sack
3ce249d923 CLI fixup: bugs 1331,2,3,4
svn: r9286
2007-10-31 21:47:58 +00:00
Martin Hawlisch
214a12846e * src/DataViews/_EventView.py: Add properties icon to column editor menu entry - the other views use that too.
svn: r9285
2007-10-31 20:47:43 +00:00
Doug Blank
22cf5aaa4c 2007-10-31 Blank <dblank@cs.brynmawr.edu>
* src/plugins/Calendar.py: added capitalize() to months/days; dst()
	* src/plugins/holidays.xml: uses dst() Daylight Saving Time function



svn: r9283
2007-10-31 14:30:54 +00:00
Benny Malengier
6ca7ab6928 2007-10-31 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/all_relations.py: use collapse family
	* src/Relationship.py: add collopse equal family



svn: r9282
2007-10-31 12:21:42 +00:00
Doug Blank
61e31e9f16 2007-10-30 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/Calendar.py: added Peter Landgren's locale suggestions



svn: r9279
2007-10-31 01:13:53 +00:00
Gary Burton
5023c4a84f 2007-10-30 Gary Burton <gary.burton@zen.co.uk>
* src/gen/lib/person.py: setting the death index wrongly.



svn: r9277
2007-10-30 15:07:46 +00:00
Benny Malengier
a1399c28ba 2007-10-27 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/rel_fr.py: add test procedure
	* src/Relationship.py: generlize test procedure



svn: r9273
2007-10-30 10:16:20 +00:00
Gary Burton
29b974160f 2007-10-29 Gary Burton <gary.burton@zen.co.uk>
* src/gen/lib/person.py: reset birth and death indexes after deleting
    an event. Fixes #1327



svn: r9269
2007-10-29 22:35:52 +00:00
Doug Blank
ee6bdfdd5e 2007-10-29 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/holidays.xml: removed SDate: use offset instead



svn: r9267
2007-10-29 21:33:18 +00:00
Benny Malengier
c1d399a435 2007-10-27 Benny Malengier <benny.malengier@gramps-project.org>
* src/DbManager.py: issue #1325, localize last date of change



svn: r9264
2007-10-29 09:41:12 +00:00
Gary Burton
d2f90213c2 * src/Editors/_EditPlace.py: fixed name of street MonitoredEntry
* src/Editors/_EditLocation.py: fixed name of street MonitoredEntry
	MonitoredEntry field for street wrongly named as city. Caused strange
	occasional drag and drop bug. issue #1304

2007-10-28 Gary Burton <gary.burton@zen.co.uk>


svn: r9262
2007-10-28 21:51:00 +00:00
Gary Burton
953e67aaf5 2007-10-28 Gary Burton <gary.burton@zen.co.uk>
* src/DisplayTabs/_EnbeddedList.py: Fixed crash when doing a drag and
	drop with an object that was deleted from a list. issue # 1326



svn: r9260
2007-10-28 16:33:32 +00:00
Benny Malengier
600c064bfa 2007-10-27 Benny Malengier <benny.malengier@gramps-project.org>
* src/Relationship.py: finish up step and inlaw, expand test routine
    Still to add: half-brother recognition, family collapse



svn: r9258
2007-10-28 10:53:06 +00:00
Gary Burton
0c256390aa 2007-10-28 Gary Burton <gary.burton@zen.co.uk>
* src/DisplayModels/_PeopleModel.py: removed a performance change added
	in revision 8734. This was causing issues #1322 & #1324
	Also replaced tab indentation with spaces



svn: r9257
2007-10-28 10:24:15 +00:00
Benny Malengier
7627efe116 * src/Relationship.py: fix typo
2007-10-27 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9256
2007-10-27 09:41:52 +00:00
Benny Malengier
7dbfbc803a 2007-10-27 Benny Malengier <benny.malengier@gramps-project.org>
* src/Relationship.py: begin of extension to step and in-law
	NOT finished.



svn: r9255
2007-10-26 22:54:33 +00:00
Benny Malengier
fb34ae8add 2007-10-26 Benny Malengier <benny.malengier@gramps-project.org>
* src/Relationship.py: change api get_singular, add docu string
	* src/plugins/all_relations.py: call get_singular changed.



svn: r9253
2007-10-26 10:41:26 +00:00
Doug Blank
2bead748b9 2007-10-25 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/Calendar.py: display date on text report in locale;
	changed a font default; removed string date class: use offset instead



svn: r9251
2007-10-26 00:22:12 +00:00
Benny Malengier
d988130335 2007-10-26 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/rel_nl.py: merge in changes of branch22
	* src/DisplayState.py: method to set rel class
	* src/ViewManager.py: call set rel class after loading plugins

	changed. Not for pl, there that method is inherited.


svn: r9250
2007-10-25 23:15:28 +00:00
Gary Burton
3c2cbe68f2 2007-10-25 Gary Burton <gary.burton@zen.co.uk>
* src/GrampsWidgets.py: allow MonitoredEntry widgets to be updated with
	empty strings. issue #1314



svn: r9248
2007-10-25 21:22:42 +00:00
Benny Malengier
256e67cb6c * src/plugins/lineage.py: gen variable conflicts with module gen
2007-10-25 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9247
2007-10-25 20:22:31 +00:00
Benny Malengier
dbcfab0c0d 2007-10-25 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/all_relations.py: don't import RelLib



svn: r9244
2007-10-25 07:10:38 +00:00
Benny Malengier
4e902b6f7a * src/plugins.py/rel_xx.py: return order of get_relationship_distance
changed. Not for pt, there that method is inherited.

2007-10-24 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9241
2007-10-24 12:52:07 +00:00
Benny Malengier
b3d15e1dca 2007-10-24 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/all_relations.py: collapse parents same family in one line
	* src/Relationship.py: change no parent family code



svn: r9240
2007-10-24 09:49:56 +00:00
Benny Malengier
1b70943814 * src/Relationship.py: internationalization of a string
2007-10-23 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9239
2007-10-23 21:22:33 +00:00
Benny Malengier
0bc1336c51 * src/plugins/RelCalc.py: better comment, issue #1181
2007-10-23 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9238
2007-10-23 20:59:06 +00:00
Benny Malengier
cb3771a715 2007-10-23 Benny Malengier <benny.malengier@gramps-project.org>
* src/Relationship.py: new algorithm to calculate relation
	* src/plugins/all_relations.py: begin of quick report to show extended relationship.



svn: r9237
2007-10-23 20:47:13 +00:00
Benny Malengier
48b7b5db8f 2007-10-22 Benny Malengier <benny.malengier@gramps-project.org>
* src/DisplayTabs/_GalleryTab.py: correctly update displaytab


svn: r9236
2007-10-22 20:45:34 +00:00
Benny Malengier
f8d26dede0 2007-10-22 Benny Malengier <benny.malengier@gramps-project.org>
* src/GrampsDb/_GrampsInMemDB.py: xml load/save not working, fixed #1319


svn: r9233
2007-10-22 18:47:20 +00:00
Doug Blank
4ad174fc44 2007-10-22 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/ReportBase/_MenuOptions.py: Refactored options, GEPS #005



svn: r9231
2007-10-22 04:21:14 +00:00