Commit Graph

11108 Commits

Author SHA1 Message Date
Vassilii Khachaturov
6fd25dd251 7034: probably_alive() failing when no birth-death
ProbablyAlive.probably_alive_range:
If there is an existing death event without a recognizable date,
assume the death date to be "before today" for the calc purposes.

Tested with the repro database in the bug and the extra debugging.

svn: r23006
2013-09-03 12:27:19 +00:00
Vassilii Khachaturov
ef159eb6f1 7034: probably_alive() failing when no birth-death
Preparing to fix the bug:
refactor cut-n-paste traces in probably_alive, proper proxy access
minor bug with return_range handling
add testing ground

svn: r23005
2013-09-03 12:27:08 +00:00
John Ralls
1424d3d20f Silence error box for browser launch
svn: r23004
2013-09-02 21:02:33 +00:00
John Ralls
4a91ff8238 Fix some omissions in r23001
svn: r23003
2013-09-02 20:21:33 +00:00
John Ralls
62743c6321 Bug 7017: Consolidate run_file into open_file_with_default_application
Also fix botched implementation in r22952, extract display_error function

svn: r23002
2013-09-02 19:31:32 +00:00
Vassilii Khachaturov
e5d995517a 6960: fix merging citations batch tool; sources
Back-port from gramps40 of r22971.

svn: r22972
2013-08-30 23:06:06 +00:00
Nick Hall
4ee02a80af Fix regular expressions in sidebar filters
svn: r22966
2013-08-30 20:33:09 +00:00
Vassilii Khachaturov
6da4a00375 6960: Error merging citations
Back-port my work on this bug from gramps40.
Unfortunately, the tests on gramps34 still fail (they pass
on gramps40/trunk), but the repro steps marked by Nick
in the bug succeed, so I shall stop here :)

svn: r22965
2013-08-30 19:41:29 +00:00
Nick Hall
b0d5343d24 6874: Use shorter names in add gramplet list. Remove old attributes gramplet.
svn: r22957
2013-08-30 18:08:49 +00:00
Nick Hall
563591b031 6786: Invoke editor on double-click in backlinks gramplet
svn: r22954
2013-08-30 16:05:33 +00:00
John Ralls
449d1366b1 [r22949]Bug 7017 GUI stuck when external viewer launched
Use a Glib timeout event to poll the open process and handle
any error returns

svn: r22952
2013-08-30 00:01:46 +00:00
Vassilii Khachaturov
00d233a3c5 Add missing imports, obsolete __main__ checks
svn: r22943
2013-08-29 18:59:43 +00:00
Vassilii Khachaturov
3600d3f3c4 Back-port Nick's fix r22772
convert XML to use citations

svn: r22942
2013-08-29 18:53:02 +00:00
Tim G L Lyons
18786ae646 0006849: citationtreeview with search bar only searches in sources, not citation data
0006848: citationtreeview corrupts when search bar open and edit occurs
0006829: Searching into source/citation selector disallows to select all related citations, only matching rows

by fixing treebasemodel so it properly deals with secondary objects, and also citationtreemodel so it adds secondary odes even when the parent is not present.

svn: r22939
2013-08-29 18:05:25 +00:00
Vassilii Khachaturov
0877cdbf54 6960: Error merging citations
Error merging citations containing objects with citations.
Fixed.

svn: r22936
2013-08-29 15:28:35 +00:00
Nick Hall
b0a4f75106 4735: Check for updates in a separate thread
svn: r22924
2013-08-28 23:32:30 +00:00
Vassilii Khachaturov
314cf24850 future division - align with gramps40/trunk
Trying to help 7007 investigation

svn: r22920
2013-08-28 15:48:49 +00:00
Doug Blank
0993059ff7 7020: Date filtering fails to work on Family Events in 3.4.6 or 4.0.2; typo, missing 'not'
svn: r22918
2013-08-28 11:57:25 +00:00
Nick Hall
537b3d7af8 Add date validation to filters
svn: r22903
2013-08-22 17:12:27 +00:00
Paul Franklin
d40325339b add and enable Greek date handler (from Zissis Papadopoulos)
svn: r22895
2013-08-21 16:54:41 +00:00
Vassilii Khachaturov
baae86787c 6953: remove "undo history warning" under CLI
To remove the meaningless "undo history warning" when a BatchTool
is run from cli (e.g., "check"), we add to BatchTool constructor
an extra argument to get the uistate, and only produce the GUI
warning if there is GUI.

svn: r22894
2013-08-21 14:41:12 +00:00
Jérôme Rapinat
9430fbc478 Enable Ukrainian date handler
svn: r22889
2013-08-21 06:56:24 +00:00
Vassilii Khachaturov
ee8bc7aaad 6871: workaround the gtk RTL bug in MultiTreeView
Best of both worlds brought to you by Nick and Vassilii :-)

svn: r22886
2013-08-20 21:39:47 +00:00
Nick Hall
22d4c1dd2c 6871: Remove vertical grid lines for RTL display
svn: r22881
2013-08-20 16:05:49 +00:00
Nick Hall
024629c2e1 Fix bug introduced in r22837
svn: r22879
2013-08-19 22:14:11 +00:00
John Ralls
da460a4b97 Bug 7002: Gramps crashes when environment varable LANG is not set to C
Force $LANG to have UTF-8 suffix.

svn: r22878
2013-08-19 21:23:17 +00:00
Vassilii Khachaturov
6b9ea867ee 6863: Failed to open file with Gramps 3.4.5
Use the write_version method rather than reinvent it...

svn: r22867
2013-08-14 20:43:49 +00:00
Nick Hall
626463d7ea Fix bug in note filters
svn: r22860
2013-08-13 18:39:18 +00:00
Nick Hall
d988af9d10 6995: Fix bug in event citation filter
svn: r22857
2013-08-13 18:23:26 +00:00
Nick Hall
0e743ad106 Automatic update for old rules using regular expressions
svn: r22853
2013-08-11 14:12:16 +00:00
Paul Franklin
02152e3abb give the graphvizdialog's format_str a more-unique name
(to help distinguish it from the name displayer's format_str)


svn: r22844
2013-08-10 18:37:25 +00:00
Nick Hall
ffab79499d Backport regular expression enhancements from gramps40
svn: r22837
2013-08-09 21:35:05 +00:00
Nick Hall
05a4e2d07a 6950: Update makefile for new rule
svn: r22817
2013-08-08 12:40:37 +00:00
Nick Hall
2099882e67 6950: Add new rule for events with places matching filter
svn: r22814
2013-08-07 23:25:09 +00:00
Vassilii Khachaturov
18ba120115 Rename PSDrawDoc to PsDoc, reduce .py file count.
Follow-up to code review, see the bug# 6883.

svn: r22808
2013-08-06 19:57:52 +00:00
Vassilii Khachaturov
19ca766ee4 Finish the refactoring.
PdfDoc now also uses CairoDocgen.

svn: r22805
2013-08-06 17:10:19 +00:00
Vassilii Khachaturov
e726cbf72f Refactoring PSDrawDoc and PdfDoc common base
Split PSDrawDoc into CairoDocgen and PSDrawDoc with overrides only.
PdfDoc still not refactored.

svn: r22804
2013-08-06 17:10:08 +00:00
Vassilii Khachaturov
2acb205ed0 6883: non-Western fonts broken in PS reports
Replace PSDrawDoc with an almost identical twin of PdfDoc.
runtest.sh now aware that the new backend produces text reports.

svn: r22803
2013-08-06 17:09:56 +00:00
Nick Hall
91a9126876 6969: Connect to switch-page signal after the initial gramplets have been added
svn: r22799
2013-08-05 18:35:11 +00:00
Paul Franklin
9d8d0247d8 remove superfluous untranslsted strings from _Date_ar.py
svn: r22798
2013-08-04 19:16:05 +00:00
Paul Franklin
1a004a5290 add clarifying comment to _Date_el.py
svn: r22797
2013-08-04 19:12:29 +00:00
Paul Franklin
cd73c7af93 added SVN properties to _Date_el.py
svn: r22796
2013-08-04 18:26:11 +00:00
Paul Franklin
2a2d356972 add Greek date handler, by Zissis Papadopoulos, for further testing
svn: r22795
2013-08-04 17:50:31 +00:00
Vassilii Khachaturov
3a77392cbb 6663: RecentFiles.do_save() doesn't do XML escape
As John Ralls suggested, wrapped the path/db name in a CDATA
section upon writeout.

In DisplayState, instead of escaping _, tell gtk to ignore
the underline; add logging to help seeing ignored files.

svn: r22773
2013-07-30 14:57:55 +00:00
Vassilii Khachaturov
e93edb9ad2 6957: VCF export/import should support [x-]gender
Added support for exporting X-GENDER
and importing X-GENDER/GENDER fields.

Tested with impex.sh round-trip (see the bug for details)
and via logger observation.

svn: r22762
2013-07-29 07:57:32 +00:00
Nick Hall
58cf9546f9 6954: Output command line messages and progress information to stderr rather than stdout
svn: r22748
2013-07-28 14:17:29 +00:00
Paul Franklin
a570345e9f show more LDS temples on the screen
svn: r22734
2013-07-24 19:11:37 +00:00
Paul Franklin
30474aab8d 6872: wrong size of svg image in Family Lines Graph
svn: r22731
2013-07-24 16:26:44 +00:00
Paul Franklin
e9b0f10d46 CLI --config values should be enterable in gramps.ini form (e.g. 0 or 1)
svn: r22726
2013-07-24 00:00:57 +00:00
Vassilii Khachaturov
7887ce4403 6936: spelling and other fixes in RU rel calc
svn: r22719
2013-07-22 20:44:23 +00:00
Paul Franklin
e766623a65 3139: boolean command line options have to be specified as foo=true ...
The solution was suggested by Doug Blank.


svn: r22707
2013-07-21 20:03:48 +00:00
Vassilii Khachaturov
18e9c860a4 2974: rtf docgen doesn't escape backslashes
svn: r22702
2013-07-21 10:59:44 +00:00
Vassilii Khachaturov
48dbff827d 6864: Change warning to a more user-friendly one
s/Gramps ignored namemap value/Gramps ignored a name grouping/g

svn: r22699
2013-07-21 06:46:36 +00:00
Vassilii Khachaturov
8b8ea1c269 6884: RTF reports broken on intl chars
Fix the problem by wrapping each char in an RTF {} group.
A bit inflating the text, but fixes the bug :-)

svn: r22695
2013-07-20 16:22:46 +00:00
Vassilii Khachaturov
b77ef0058a 6915: not related tool treats siblings as not rel.
Applying patch from ennoborg, thanks!
Tested manually, according to the procedure in the bug.

svn: r22689
2013-07-16 16:56:11 +00:00
Paul Franklin
6633925a0f revert the Finnish date-format change (remove the four I added)
svn: r22676
2013-07-13 20:56:12 +00:00
Paul Franklin
a7b6648672 correct the Finnish date-format choices (add the other four)
svn: r22673
2013-07-13 20:02:18 +00:00
Paul Franklin
6507c468bf added and/or clarified various date handler comments
also slightly reformatted a few date handler lines
and fixed one (locale-specific) date handler typo


svn: r22670
2013-07-13 18:00:11 +00:00
Paul Franklin
9dae34ec84 standardize date handler's internal argument names, for easier comparisons
svn: r22665
2013-07-09 01:31:30 +00:00
Paul Franklin
1bf7ff579e ignore bad Record Gramplet/Report data (the data-verification tool catches them)
svn: r22662
2013-07-08 21:52:24 +00:00
Paul Franklin
5995d1acec Span maximums and minimums must always be positive numbers
svn: r22655
2013-07-08 01:44:02 +00:00
Doug Blank
b51e544926 6081: Crash after double-click on .gpkg file
svn: r22645
2013-07-03 13:06:45 +00:00
Paul Franklin
c116049f2f 6818: Enable Relationships support on RelationshipGraph (GraphViz)
svn: r22636
2013-07-01 16:56:22 +00:00
Nick Hall
e0637934ac 6841: Fix RTL text style bug
svn: r22616
2013-06-27 13:07:56 +00:00
Paul Franklin
2f0992afa7 added SVN properties, and SVN Id lines as needed, fixed typos in _Date_ar.py
svn: r22606
2013-06-25 19:39:30 +00:00
Jérôme Rapinat
9b6a95d40c Add Arabic date handler to SVN, not enable yet on __init__.py and Makefile.am files
svn: r22601
2013-06-25 09:11:41 +00:00
Jérôme Rapinat
90dd918e7a Add Arabic on lang_map
svn: r22600
2013-06-25 09:07:49 +00:00
Vassilii Khachaturov
b6f0ab523f 6838: report cli crash ignoring an unknown param
Use + for string concatenation rather than passing a tuple to print.

svn: r22593
2013-06-24 18:04:19 +00:00
Nick Hall
11b5a74efe 6814: Fix gramplet positioning when using RTL locale
svn: r22555
2013-06-22 21:00:37 +00:00
Jérôme Rapinat
010c82a44d 6817: was not a typo... (rev22549); already there before enhancements on tests
svn: r22550
2013-06-21 14:59:24 +00:00
Jérôme Rapinat
d063df5787 6817: typo
svn: r22549
2013-06-21 14:51:14 +00:00
Jérôme Rapinat
4a66b3b50c 6817: import print_function looks nicer
svn: r22547
2013-06-21 14:12:45 +00:00
Tim G L Lyons
eef147273c 0006352: Bookmarking a source in the citation tree creates a blank bookmark. Disallow bookmarking a source in the Citation Tree View, and do not add sources to the history in the Citation Tree View.
svn: r22543
2013-06-20 16:42:58 +00:00
Paul Franklin
0be260b01d 6821: CLI asks forever when trying to overwrite while exporting
svn: r22540
2013-06-20 16:33:40 +00:00
Jérôme Rapinat
87f5828ebe 6817: revert mistake on revision 22538
svn: r22539
2013-06-20 14:49:23 +00:00
Jérôme Rapinat
37f3183c3b 6817: Enhancements for testing localized Relationship handlers (contribution by Fedir)
svn: r22538
2013-06-20 14:36:32 +00:00
Vassilii Khachaturov
dadd00f200 4571: RTL support missing in FanChart
Partial fix, approved by bmcage.
Fully RTL text will be rendered RTL, fully LTR will be LTR.
Unfortunately, CTL (combination of the both) will still be broken.
Better fix for bug# 4571 will be researched on trunk, in gtk3.

svn: r22532
2013-06-20 09:39:03 +00:00
Jérôme Rapinat
7d96ee1308 Add Ukrainian relationship calculator and holidays (contributions by Fedir)
svn: r22527
2013-06-20 07:16:10 +00:00
Vassilii Khachaturov
78bd5a0256 bug 6812: pedigree view is broken in RTL locales
Make the table widget in the view forced LTR.
Everything else (person box widget and the top window) is
LTR or RTL, depending on the locale.
Unfortunately, due to current broken pango logic,
for RTL locales the person boxes will still be left-aligned :-(

svn: r22521
2013-06-19 18:02:14 +00:00
Paul Franklin
df630131cd 6797: Alternate Names in Person Details Gramplet (patch by Heinz Brinker)
svn: r22503
2013-06-13 21:34:08 +00:00
Tim G L Lyons
c21d88ce89 0000860: GEDCOM: Space in gramps id fails to properly export/import
svn: r22499
2013-06-13 18:06:10 +00:00
John Ralls
724a534bf5 [r22417]Bugs 6099 & 6472: Don't leave zombies and report errors
Update spawnve() to subprocess.check_output()
Pop an ErrorDialog if the system's open command fails in
open_file_with_default_application()

svn: r22419
2013-05-25 00:08:25 +00:00
Jérôme Rapinat
63094a5580 bump to 3.4.6
svn: r22405
2013-05-22 10:20:10 +00:00
Paul Franklin
7727813c13 6657: Book report: Sub reports forget/overwrite their settings when trying to re-configure them
(This is already in gramps40 and trunk, see revision 19916)


svn: r22361
2013-05-17 21:29:11 +00:00
Paul Franklin
84c7359f8e 1780: End of Line Report options window - changing Output Format cause change active tab to "report options"
This also happens on every other report, of course.
(I will commit this to gramps40 when its "code freeze" is over.)


svn: r22357
2013-05-17 16:10:53 +00:00
Paul Franklin
e19d519d25 5900: reports should remember their last-used GUI output filename
Requested on 6720: Reports: Translated filename by default on output
(5900 is already in gramps40 and trunk, see revision 19988)


svn: r22355
2013-05-17 15:50:42 +00:00
Paul Franklin
8b11e650f7 don't start a GraphViz report on the "Paper Options" tab
None of the other reports start on the "Paper Options" tab.
(I will commit this to gramps40 when its "code freeze" is over.)


svn: r22353
2013-05-17 15:24:15 +00:00
Tim G L Lyons
e4e27b5bc0 0006746: Problem in Portable version immediately after upgrading to 3.4.4-1 from 3.3.1.1
svn: r22343
2013-05-17 11:29:28 +00:00
Jérôme Rapinat
a8e24f2917 bumb to 3.4.5
svn: r22313
2013-05-15 09:02:52 +00:00
Jérôme Rapinat
945f1a5000 do not enable Ukrainian date handler yet
svn: r22309
2013-05-15 07:29:01 +00:00
Jérôme Rapinat
35ca071220 add Ukrainian date handler (contribution by Fedir)
svn: r22299
2013-05-14 16:26:45 +00:00
Tim G L Lyons
ecd7637d27 0006541: Gramps crashes during import gedcom. Ignore empty ALIA alias name.
svn: r22296
2013-05-14 15:42:08 +00:00
Tim G L Lyons
7effc7980b 0006394: GEDCOM import errors truncated too much. Error message extended to 66 chars as suggested (and continuation lines formatted to fall under initial line)
svn: r22293
2013-05-14 15:02:00 +00:00
Tim G L Lyons
13a58dc924 0006195: Import from pro-gen. Fix citations and sources. Also other fixes: Attach SOUR TEXT as note on citation. Ensure gramps_ids are not duplicated (change map record so it maps from Pro-Gen ID to handle), and format gramps_id according to the user's preference setting. Store 'aktenr' as REFN attribute or data. Store TITL (and _TITL2 and _TITL3) as comma separated Title. Store patronymic correctly. Prevent duplication of Baptism source text. Store RESI event for person address. Store family 'Relatie code' (FAM REFN/FAM CODE) as REFN. Note testing is limited by availability of test data.
svn: r22285
2013-05-13 23:01:42 +00:00
Tim G L Lyons
91c7356567 0006515: Error building narrated web
Circular references (either direct or indirect) involving media->citation->media or media->citation->source->media cause NarrativeWeb to crash with "maximum recursion depth exceeded". Fix NarrativeWeb when constructing list of objects to be output by checking whether a media object has already been encountered.

Also fixes
0006418: Navweb crashes alpha4
0006630: Export Erzählende Webseite
0006643: Crash during making webstek report
0006652: [NarrativeWeb] Circular References lead to endless recursion (crash)
0006654: Unable to created narrated web report

svn: r22268
2013-05-12 16:43:52 +00:00
Benny Malengier
417d85a353 6580: Merging Media Notes fails
svn: r22257
2013-05-11 17:42:55 +00:00
Tim G L Lyons
ddecdb854e 0006713: Databases written with pickle protocol 3 (Python3) should not be opened with pickle protocol 2 (Python2). Also give warning when about to upgrade a Python2 database to Python3.
svn: r22241
2013-05-10 14:29:47 +00:00
Tim G L Lyons
109e64f657 0006529: Cancelling database upgrade can corrupt the database. Ensure database is unlocked when cancelling upgrade. Make links in dialogues into clickable hyper-links. Ensure dialogue windows stays on top. Reword warning and error messages to use Bsddb version, schema version and Family Tree consistently, to be clearer about the choice the user is being offered, and to provide hyper-links to more information.
svn: r22217
2013-05-09 17:23:37 +00:00
John Ralls
51bedcd46c 6553: Local settings and reports and event editor
Query the environment variables LC_TIME and LANG before resorting to
getdefaultlocale() on Win32.

svn: r22193
2013-05-07 14:21:29 +00:00
John Ralls
6214d3c1f3 Bug 6553: Wrong locale directory for alternate translations
Thanks, Kurt.

svn: r22192
2013-05-07 14:21:18 +00:00
Jérôme Rapinat
e6844424ae 6576: add an optional helptext as tooltip on add_pos_int(); provide a list and sample of pango convenience markups and combinaisons
svn: r22157
2013-05-04 06:06:16 +00:00
Jérôme Rapinat
71248be3e5 5751: use "Minimum Confidence" label into citation sidebar filter, it does not match only one level
svn: r22150
2013-05-03 07:18:13 +00:00
Jérôme Rapinat
8222308239 6535: 'Language' should probably not be capitalized
svn: r22149
2013-05-03 06:55:58 +00:00
Jérôme Rapinat
da7c2927a1 6576: Set custom pango markup can generate GtkWarning, ValueError or TypeError
svn: r22142
2013-05-02 15:23:43 +00:00
Benny Malengier
9823168d15 6659: Justified paragraph layout does not work
Actually: it works always, but pango does not justify partial lines...


svn: r22137
2013-05-02 08:50:51 +00:00
Jérôme Rapinat
ed5f72fc04 add New Zealand holidays (contribution by kerobe aka Ken B)
svn: r22125
2013-05-01 08:05:41 +00:00
Benny Malengier
8a2ad56f61 6624: import an exported XML crashes gramps 4.0 - Actually a logic bug python 2 does not crash on.
svn: r22122
2013-04-30 13:21:11 +00:00
Nick Hall
0e89688da9 6622: Change regular expression rules to use search rather than match
svn: r21974
2013-04-13 14:11:20 +00:00
Nick Hall
71040c0fd1 6599: Add regex parameter to rules which override the constructor
svn: r21941
2013-04-10 13:21:14 +00:00
Nick Hall
fc0c0f474e 6599: Add regular expression option to rules using the match_substring method
svn: r21933
2013-04-09 13:51:07 +00:00
Paul Franklin
e3934bc72d enable "indent spouse" option to /not/ indent a spouse
svn: r21927
2013-04-08 15:08:31 +00:00
Nick Hall
1764c1dcd2 6599: Fix matching empty fields in empty locations using regular expressions
svn: r21911
2013-04-06 17:27:05 +00:00
Paul Franklin
2fd1ee8520 make _HELP text consistent with gramps40
svn: r21897
2013-04-05 21:24:12 +00:00
Tim G L Lyons
b63524b99b write.py: After the bsddb version has been upgraded, if the schema versions also needs to be upgraded, output a separate dialog asking the user whether he wants to upgrade the schema. (As requested by Benny).
svn: r21886
2013-04-05 10:52:33 +00:00
Tim G L Lyons
828060d2eb 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: r21850
2013-04-02 16:01:50 +00:00
Tim G L Lyons
7a82cf5104 0006483: Listing the Family Trees can corrupt them. Changed get_dbdir_summary to exit if the bsddb_version is not the current bsddb and to return both BSDDB and schema version. Changed family_tree_summary to output both versions. Changed argparser and arghandler to additionally support -t (table) option to list family tree in tab delimited format.
svn: r21826
2013-03-31 22:08:17 +00:00
Tim G L Lyons
4b27a56186 0006578: referencedbyselection.py process_object calls non-existant process_note method
svn: r21802
2013-03-28 23:31:58 +00:00
Tim G L Lyons
423d27e5a1 0006578: referencedbyselection.py process_object calls non-existant process_note method
svn: r21801
2013-03-28 22:57:44 +00:00
Tim G L Lyons
6fe6455251 0006544: No test for checking if Place handle exists when looking at media reference via proxy
svn: r21796
2013-03-28 18:28:44 +00:00
Tim G L Lyons
645262992d referencedbyselection.py. 0006493: crash during Calculate Preview of a filtered XML export.
svn: r21785
2013-03-28 14:23:49 +00:00
Paul Franklin
023ccd5086 6561: v3.4.3 NarWeb creation fails for German, Swedish
svn: r21764
2013-03-27 17:00:15 +00:00
Nick Hall
fa265e2a83 Add Tag class to CallbackManager
svn: r21725
2013-03-23 22:26:15 +00:00
Jérôme Rapinat
f4c30c462b 6544: add warning if place on event is missing by using proxies sequence
svn: r21722
2013-03-23 17:08:12 +00:00
Jérôme Rapinat
38a0d10be7 4687: missing content migration...
svn: r21709
2013-03-20 14:04:30 +00:00
Jérôme Rapinat
f0f3a5b037 4687: global name 'warn' is not defined
svn: r21708
2013-03-20 13:59:53 +00:00
Nick Hall
ada6a11ed7 Fix bug in citations bottombar gramplet
svn: r21701
2013-03-19 23:14:56 +00:00
Jérôme Rapinat
f2e39009af bump to 3.4.4
svn: r21687
2013-03-19 12:03:13 +00:00
Jérôme Rapinat
be5fbc730c 6493 temp workaround for note tag (Media class name)
svn: r21680
2013-03-19 08:44:05 +00:00
Paul Franklin
9e98aa0c25 ignore any CLI book report "item" which crashes
svn: r21667
2013-03-16 22:50:05 +00:00
Nick Hall
198a707f5b Add methods used for modal ProgressMeter to CLIDialog
svn: r21664
2013-03-16 21:47:20 +00:00
Nick Hall
e2b46f886b Add modal option to ProgressMeter
svn: r21661
2013-03-16 19:47:56 +00:00
Jérôme Rapinat
ba36caa2bd 6195: Import from pro-gen (patch by keestux)
svn: r21657
2013-03-16 10:18:52 +00:00
Nick Hall
a1dba65495 6336: Convert to use DbGUIElement
svn: r21654
2013-03-15 21:02:34 +00:00
Nick Hall
f02e7f2580 6526: Check for invalid handle
svn: r21651
2013-03-15 16:15:53 +00:00
Jérôme Rapinat
0ce396d2c1 6236: display issue by using cairo under linux too
svn: r21642
2013-03-14 09:53:19 +00:00
Nick Hall
2abc7c8475 Make availability of GraphViz settings depend on output format
svn: r21632
2013-03-12 16:33:50 +00:00
Nick Hall
0f001bf131 Improve the descriptions and tooltip for GraphViz aspect ratio option
svn: r21631
2013-03-12 15:59:56 +00:00
Tim G L Lyons
d2dbe4427d Exportgedcom and importgedcom. 0006382: ADDR tag in GEDCOM export does not contain a full address. On export, all the elements of the structured address are output as ADDR/CONT. On import the structured address takes precedence (as at present), but a warning is only given if an element in the free-form address is missing from the structured address.
svn: r21608
2013-03-11 18:44:01 +00:00
Nick Hall
ce1c01f963 6237: Suppress Gramps ID in Narrative Web report
svn: r21605
2013-03-10 23:54:27 +00:00
Paul Franklin
20231f676f 6514: LaTeXDoc.py fails to load (fixed by John Ralls)
svn: r21602
2013-03-10 19:29:02 +00:00
Nick Hall
0e268858e6 6128: Reverse bug fix keeping code refactor
svn: r21575
2013-03-07 22:54:31 +00:00
Jérôme Rapinat
9d13689751 6385: Three minor grammar issues
svn: r21572
2013-03-07 08:14:27 +00:00
Tim G L Lyons
dcf5132124 0006507: GEDCOM import: Repositories not imported correctly from FTM for Windows and Heredis
svn: r21569
2013-03-06 17:41:15 +00:00
Tim G L Lyons
97e29dade6 0005058: Note reference on Attribute for individual is not filtered on Export. Fixed many other note references that are not filtered out.
svn: r21522
2013-03-02 19:29:32 +00:00
Tim G L Lyons
8f910a8750 0003428: When running with pythonw.exe, Windows may crash if you write to stdout. Some more print statements changed to log.warning. Using same message as rev 21505 for gramps40.
svn: r21513
2013-03-01 17:57:53 +00:00
Tim G L Lyons
4697de789c 0003428: When running with pythonw.exe, Windows may crash if you write to stdout. Some more print statements changed to log.warning.
svn: r21510
2013-03-01 13:12:20 +00:00
Tim G L Lyons
0a0d77d6db Narrative Web: Fix alphabetic navigation bar and sorting in index pages using PyICU where available. Implements most collate contractions for western languages Gramps has been translated into. This fixes the following bugs:
0002933: Problems in Narrative Web Report with surnames beginning with V or W. Use collation primary difference to define index groupings. Special case for 'V' and 'W' in Swedish removed because the default CLDR has a primary difference between them.

0003434: NarrativeWeb new alphabet index sorted incorrectly. Fix Cyrillic sort order, and contractions for Slovak and Czech (among other languages).

0003933: References inside pages in NarWeb report and non-ascii characters. Sorting issues for Polish characters.

0004423: Web report does not handle Czech "CH" character properly. Dz contraction is not present in the CLDR. Slovak is similar.

0005088: Narrated Web Site Report sort order different Windows vs Linux. Resolved by using PyICU (if available).

0005645: can't sort greek names

0005767: Sorting in Narrative Webb does not work correctly. Fix sorting in Individuals, Surnames, Families, Events and Places to use PyICU (if available). This bug covers sorting in the index header (as well as in the body of the index pages).

svn: r21507
2013-03-01 12:35:10 +00:00
Serge Noiraud
e5725f28c3 Bug #06459 : change the lock strategy and split transactions in Merge citation.
svn: r21502
2013-02-28 19:51:15 +00:00
Paul Franklin
68d50ae0e9 revert to the old report name
svn: r21427
2013-02-24 08:39:34 +00:00
Paul Franklin
eb30461eb5 6247: Crash when attempting to use Book Report
svn: r21351
2013-02-13 18:47:10 +00:00
Tim G L Lyons
f732f907fe Fix HTML encoding output support. (This should have been committed on 30 Jan 2013, when the same change was made to trunk and gramps40, and around the same time when related changes were made to gramps34)
svn: r21346
2013-02-13 11:02:52 +00:00
Paul Franklin
525c08d14f 6379: Can not get ancestry or relationship tabs to work
svn: r21335
2013-02-10 21:11:16 +00:00
Tim G L Lyons
56078f14b8 Revert change 21304 for moving report_options file
svn: r21322
2013-02-08 17:08:24 +00:00
Jérôme Rapinat
2361294b5e we are in 2013
svn: r21313
2013-02-07 15:52:27 +00:00
Tim G L Lyons
366fdb34f9 0003968: [NarWeb] Save/Restore settings for Narrated Website Generation. Change report_options file to be in the database directory, and implement different default report file and directory names based on the Family Tree Name. N.B. On upgrading, if you want to preserve your report_options, copy the report_option.xml file from the .gramps directory to the applicable .gramps.grampsdb.<number> directory. Also don't forget that the default options are to EXCLUDE private and living data.
svn: r21304
2013-02-05 18:06:02 +00:00
Tim G L Lyons
db4977c244 Change format of console logging messages to have a meaningful timestamp
svn: r21296
2013-02-04 19:15:22 +00:00
Tim G L Lyons
7f10ab796e Fix processing of contractions, and changes to ensure code (after initial lines) for narrativeweb is the same for trunk and gramps34
svn: r21294
2013-02-04 18:49:57 +00:00
Gary Burton
7004ce9033 Fix some memory leaks, some still remain.
svn: r21286
2013-02-03 17:48:36 +00:00
Tim G L Lyons
6154ebad23 export file select dialogue does not correctly reject empty filenames - two (probably long standing) coding errors: use of method name 'strip' instead of calling it, and does not isolate the filename from the full pathname
svn: r21270
2013-02-01 17:46:43 +00:00
Gary Burton
7810d946b4 Bug #6371. Fix memory leak caused by hanging reference to progress meter callback method.
svn: r21226
2013-01-26 09:29:45 +00:00
Tim G L Lyons
3de9ff5dae Error in person.get_citation_child_list. Causes error in merging citation in person event reference attribute. (Discovered during investigation of 0006336: Delayed update of bottom bar in Person View after merge)
svn: r21195
2013-01-22 19:09:31 +00:00
Tim G L Lyons
421d38eb89 0005088: Narrated Web Site Report sort order different Windows vs Linux. Initial commit to resolve the issues on Linux and Mac (provided in both cases PyICU is installed). Windows still needs to be tested, and there may still be some other uses of strxfrm (or strcoll) that need to be fixed.
svn: r21174
2013-01-20 15:10:26 +00:00
Paul Franklin
1c65ab29aa 6229: bug when creating a book reports
svn: r21092
2013-01-13 01:08:10 +00:00
Doug Blank
d5bc201cb4 URL for Welcome Gramplet was still pointing to 3.3 manual
svn: r20941
2013-01-02 20:25:19 +00:00
Doug Blank
55492a7573 4719: Narweb Privacy issue, probably_alive uses spouse birth/death directly
svn: r20934
2013-01-02 02:42:36 +00:00
Doug Blank
e4dc6a57fb New URL for gramps-addons
svn: r20929
2013-01-01 19:45:56 +00:00
Doug Blank
e197ebe0d6 6260: Media select with context: typo in editperson
svn: r20925
2013-01-01 14:21:46 +00:00
Jérôme Rapinat
c4b7cda610 6203: typo when interrupting a gramplet
svn: r20922
2013-01-01 07:18:47 +00:00
Doug Blank
4fa115870e Keep 'Check now' in its own column
svn: r20893
2012-12-30 21:55:14 +00:00
Gary Burton
300d520cb0 Set the correct number of update callbacks. Bug #6219.
svn: r20887
2012-12-30 16:56:38 +00:00
Doug Blank
3e5dbd4e5b Added timeout to urllib open; added URL path to addons to Preferences; added URL path to addons to config; refined layout in Preferences on first panel
svn: r20865
2012-12-28 19:11:41 +00:00
Doug Blank
0b277c4bb2 Someone optimized some code incorrectly; lines at bottom of calendar where placed off the page
svn: r20817
2012-12-21 18:57:46 +00:00
Doug Blank
2078bcc17c 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: r20812
2012-12-21 18:22:52 +00:00
Jérôme Rapinat
199f81a832 common date handler for Norwegian Bokmål and Norwegian Nynorsk
svn: r20799
2012-12-20 13:44:58 +00:00
Tim G L Lyons
5a2b0ce910 0006009: Media objects attached to Marriage events and Sources are not included in Narrative Web Site
* restructure the families index so families are indexed under both spouses, and the family name is normalised
* separate out Families section in individual and families pages so individual page links to the family page and family page links to both people
* normalise links to families so the link is only displayed if the family page is present, and the gid is included when appropriate
* remove highlighting of media subregions except in the media pages (it was confusing and not very well implemented)
* include people whose surname is absent in the individual, surname and families indexes
* html_escape names and surnames
* always display media thumbnails for first image in Gallery list (in some cases they were suppressed if they had been displayed at the top of the page)
* change partner and parent columns in families index to improve the layout of the HTML and put the comma between multiple partners in the right place
* use event description (where present) instead of just event type in back references
* fix bug in the way obj_dict and bkref_dict were initialised
* fix missing document.png for missing media

svn: r20794
2012-12-18 22:53:22 +00:00
Benny Malengier
a4b1518a04 6231: WARNING: configmanager.py: line 309: WARNING: ignoring key with wrong type
'behavior.autoload'


svn: r20790
2012-12-18 11:53:42 +00:00
Tim G L Lyons
7f2b854632 fixed problems that bibliography ignores media attached to citations, so if that is the only 'interesting' thing about the citation, the citation media is not output
svn: r20771
2012-12-05 22:55:51 +00:00
Tim G L Lyons
2a03ca499b * Removed a lot of redundant code and parameters (mainly connected with the old way of determining the objects to be included in the report).
* Moved routines for calculating objects to be output so they can be part of default list building classes.

* Replaced person link routine with one that takes into account whether there is a page for the person.

* Included repository reference media type and call number in the 'Repositories' section of the relevant source instead of the Repository page.

* Implemented a generalised back reference function to display the 'References' section of all pages. This recursively displays references till one is found for which a page exists.

* Removed list of people and families from heading of the event pages as these are now in the 'References' section.

* Fixed bug "0005968: Narrated Web Site not copying Source Citations files such as jpg or pdf docs to web site" and "0005946 GRAMPS failed to insert jpeg image into proper place for an event" by displaying a thumbnail for citation media in the 'Source References' section (with a link to the media page)

svn: r20768
2012-12-05 19:33:45 +00:00
Peter Landgren
6bb0f12d28 Fix for correct unique surname statistics.
svn: r20687
2012-11-21 12:34:14 +00:00
Peter Landgren
94f108807f Issue 6188. Number of unique surnames are now correct in both StatsGramplet and SurnameCloudgramplet.
svn: r20683
2012-11-20 18:17:22 +00:00
Tim G L Lyons
c4e86a732c Align gramps34 and trunk (where there is no functional difference) - minor layout changes etc.
svn: r20680
2012-11-18 20:32:44 +00:00
Paul Franklin
099def6fd0 6177: Wrong line created by the LaTeX module
svn: r20676
2012-11-18 03:31:41 +00:00
Paul Franklin
043396b7b9 6155: Error when running Detailed Descendant Report
svn: r20675
2012-11-17 21:28:51 +00:00
Tim G L Lyons
a35ad26696 Tidy up media pages - remove unused parameters, use list of media items generated in first pass. Should fix bugs 2365, 5905 and 6009.
svn: r20655
2012-11-13 15:51:25 +00:00
Tim G L Lyons
69fc354f06 Tidy up sources pages - fix numbering of repositories, remove unused parameters, fix title of individual source pages
svn: r20653
2012-11-12 18:39:31 +00:00
Tim G L Lyons
9f42185379 Bug: reset NarrWeb navigation menu layout when style sheet doesn't support it
svn: r20651
2012-11-12 12:15:59 +00:00
Tim G L Lyons
21cf42b077 Change Source Pages to use the list of sources generated by the first pass that finds objects to be output, and simplify references section on the Source page to use the references passed to it.
svn: r20649
2012-11-12 10:44:14 +00:00
Tim G L Lyons
5edc980642 Movement of some large chunks of code within the source file and some initial work towards GEPS 022: Narrative Website Refactor. Functionality should be unchanged.
svn: r20640
2012-11-08 23:55:57 +00:00
Jérôme Rapinat
bf9b4ea7a1 6156: url and Google Map API
svn: r20632
2012-11-05 09:05:30 +00:00
Jérôme Rapinat
f63246417c 6158: typo, do not display a random place title on warning dialog
svn: r20630
2012-11-05 08:20:53 +00:00
John Ralls
d630052347 Update for gtkmacintegration-2.0
svn: r20628
2012-11-02 20:05:59 +00:00
Jérôme Rapinat
4b4e10c229 6133: private home note and privacy filter (patch by Serge Noiraud)
svn: r20623
2012-10-28 13:49:18 +00:00
Jérôme Rapinat
557f94503f bump 3.4.3
svn: r20622
2012-10-28 11:50:32 +00:00
Jérôme Rapinat
ce5adbebe9 6148: OSM layer for OpenStreetMap
svn: r20605
2012-10-26 09:31:20 +00:00
Jérôme Rapinat
2d0b93cc3f 6002: do not find a clear licence, revert Web Map Service used with previous revision
svn: r20604
2012-10-25 19:46:22 +00:00
Jérôme Rapinat
e9cfb24628 6002: better rendering by using an other layer than the basic one for openstreetmap
svn: r20602
2012-10-25 18:56:07 +00:00
Jérôme Rapinat
9da74d1f95 6002: failed to make it more consistent.. use a better zoom for openstreetmap on place pages
svn: r20600
2012-10-25 18:30:33 +00:00
Jérôme Rapinat
938e96747b 6002: try to make the javascript code more consistent with this custom OSM layer handling
svn: r20599
2012-10-25 17:39:24 +00:00
Jérôme Rapinat
a75acbc48e 6002: typo on OSM map handler; thank you Midori element inspector
svn: r20595
2012-10-25 13:26:27 +00:00
Tim G L Lyons
d649bd97a2 Some untranslated strings
svn: r20592
2012-10-24 18:05:01 +00:00
Tim G L Lyons
502748cf8f 0006078: Narrweb has thumbnail link to missing thumbnails.html
svn: r20590
2012-10-24 17:28:08 +00:00
Tim G L Lyons
bc5bb25106 0005864: Web Report: Error in showing repositories
svn: r20588
2012-10-24 16:52:40 +00:00
Tim G L Lyons
89b0ae1adb 0005691: [NarrWeb] family notes have disappeared from individual pages. Family notes output if the Family pages are not being output.
svn: r20585
2012-10-24 14:27:55 +00:00
Tim G L Lyons
865aa77ec0 Fix for part of 0006009: Media objects attached to Marriage events and Sources are not included in Narrative Web Site. Some references show as "Unknown", and family event media are missing if event pages are not generated. (Media objects for sources NOT fixed)
svn: r20583
2012-10-24 12:29:36 +00:00
Tim G L Lyons
575ccd84ff 0005859: Stepsiblings are NOT correct
0006068: Narrative Web reports two people as step family when one of the parents is unknown for both
0001400: NarrativeWeb lists half-siblings in order

Various fixes for 'Parents' section of 'Individual' pages.

svn: r20578
2012-10-23 11:59:00 +00:00
Jérôme Rapinat
a8fd0bae91 6142: set option for using last view to False by default
svn: r20576
2012-10-23 08:48:57 +00:00
Nick Hall
86cb61cd38 6128: Fix bug to allow multiple styles for same report in a book
svn: r20572
2012-10-17 12:22:36 +00:00
Jérôme Rapinat
5ae26c90e0 Add Greek translation (contribution by Zissis Papadopoulos)
svn: r20544
2012-10-08 20:04:59 +00:00
Tim G L Lyons
c79ff475b4 0005860: The descriptions for events are missing in the webreport.
svn: r20538
2012-10-08 10:03:32 +00:00
Tim G L Lyons
fb5362ba1f 0005088: Narrated Web Site Report sort order different Windows vs Linux. Fixed to use same Utils routine as person model.
svn: r20536
2012-10-08 09:30:59 +00:00
Tim G L Lyons
d76f798a82 0005678: Fix Nick Name and Call Name in narrated website. Nickname, callname and associated citations fixed for current name structure.
svn: r20520
2012-10-04 17:22:17 +00:00
Benny Malengier
9b8c8f5ff1 5144: Locale not taken into account to sort family list on father or mother name
svn: r20516
2012-10-04 07:58:45 +00:00
Paul Franklin
92049ddf95 4145: During book report creation
svn: r20514
2012-10-04 00:06:58 +00:00
Peter Landgren
f63adca571 Fix of issue 6060, problem with lower case drive letters in Windows.
svn: r20464
2012-09-29 16:32:39 +00:00
Benny Malengier
c41939e966 5934: How to fix invalid Database Path?
svn: r20455
2012-09-27 09:18:34 +00:00
Tim G L Lyons
269f6e60ae 0006069: GEDCOM import does not generally support MULTIMEDIA_LINKs in the embedded form
svn: r20450
2012-09-25 18:15:13 +00:00
Serge Noiraud
ce297b8a8b Geography : better place selection if we have a place history. #05742 note 25518
svn: r20447
2012-09-25 16:59:16 +00:00
Peter Landgren
95faa79b63 Fix of issue 6031.
svn: r20446
2012-09-25 16:57:16 +00:00
Peter Landgren
410985b0e1 Fix of issue 6058 and printing of non ascii strings in Windows.
svn: r20445
2012-09-25 16:51:45 +00:00
Tim G L Lyons
98cb7c553d 0006060: Missing reference in events and citations. Fixed get_handle_referents, which had been disturbed by the fix for bug 6053
svn: r20443
2012-09-25 16:49:51 +00:00
Tim G L Lyons
177dae7976 0006055: Peculiar title of tip 63. Changed to "Don't speak English?"
svn: r20441
2012-09-25 15:42:45 +00:00
Tim G L Lyons
82bfe43483 0006061: GEDCOM import: link from FAM to child but missing link from child to FAM causes inconsistent displays. Fixed in GEDCOM import, importxml and Check and repair. (Also minor fixes for improved diagnostics when importxml just completely fails and for exportxml illegal characters in mime_type).
svn: r20438
2012-09-23 22:28:34 +00:00
Tim G L Lyons
9adf8c3851 0006008: Can't edit citation record from source record reference. Explanatory warning message produced.
svn: r20427
2012-09-21 17:46:54 +00:00
Peter Landgren
08df4e0376 Fix for issue 6056. Coding errors for non-ascii.
svn: r20421
2012-09-19 17:40:58 +00:00
Benny Malengier
947ba31fa5 6053: Person and Family pass eventref as object with sources, but it has no sources
svn: r20416
2012-09-19 11:31:31 +00:00
Jérôme Rapinat
c0488a4936 #6044: typo; should use active place as mark not the first place handle on places list
svn: r20404
2012-09-17 12:55:03 +00:00
Jérôme Rapinat
5d117e5610 5993: RegEx in Filter "person has name" can not handle non-ASCII characters (patch by Benny)
svn: r20393
2012-09-15 13:29:50 +00:00
Serge Noiraud
07623a6cf1 Geography : bugs #06044 and #05975 : detection of multiple places with same title
svn: r20391
2012-09-15 07:54:07 +00:00
Benny Malengier
f1f1f7cbbe 5992: Crash when using a not allowed string as regex in Person with name filter
svn: r20364
2012-09-11 09:28:55 +00:00
Benny Malengier
03855427b7 Feature: all drop on family father/mother to set
svn: r20360
2012-09-10 20:13:32 +00:00
Benny Malengier
2f28174eb0 Bugfix: The new hascitation filter does not show in the list
svn: r20356
2012-09-10 11:25:40 +00:00
Julio Sánchez
aaa0b1966e Fix error in plural cousins (same generation) relationship string generation
svn: r20342
2012-09-06 12:54:54 +00:00
Julio Sánchez
eee0f0283a Reworked rel_es.py as evolution of some uncompleted code for 3.2 that never made it to svn
svn: r20339
2012-09-06 09:57:57 +00:00
Peter Landgren
d6a9ca5260 Fixed a typo.
svn: r20326
2012-09-04 14:40:51 +00:00
Benny Malengier
482d291a4e 6014: Citation view crash
svn: r20323
2012-09-04 11:35:16 +00:00
Peter Landgren
6ffdacc185 Fix graphviz 2.28.0 and multiple pages.
svn: r20316
2012-09-03 08:46:20 +00:00
Benny Malengier
9dff627eb4 Fix crash in fanchart on 8 (max) generations)
svn: r20290
2012-08-30 13:16:06 +00:00
Jérôme Rapinat
069c1c1ced #5991: typo on docstrings
svn: r20277
2012-08-28 17:41:05 +00:00
Jérôme Rapinat
1e7df24ec1 #5914 #5991: crash with person filter and references proxy; missing proxy support for bookmarked citations
svn: r20276
2012-08-28 17:38:33 +00:00
Benny Malengier
4c28d1c74c 6003: Not all sourcebase objects have the same source filters
svn: r20270
2012-08-27 09:21:10 +00:00
Jérôme Rapinat
ac5d1a68d3 bump to 3.4.2
svn: r20261
2012-08-24 16:49:26 +00:00
Benny Malengier
a2191b7bbe 5756: First names are sometimes displayed incorrectly in Ancestry View
svn: r20248
2012-08-22 11:31:00 +00:00
Doug Blank
72e22023a0 5990: order of families not preserved across XML export-import
svn: r20244
2012-08-21 18:33:37 +00:00
Doug Blank
4943108b46 5990: order of families not preserved across XML export-import
svn: r20238
2012-08-21 12:37:49 +00:00
Peter Landgren
653ce7c2fc Issue 5964, UTF16reader returned str, shoul be unicode.
svn: r20200
2012-08-11 08:40:44 +00:00
Craig J. Anderson
bbab6e160d fix for:
http://www.gramps-project.org/bugs/view.php?id=5960
http://www.gramps-project.org/bugs/view.php?id=5958
errors when a person is unknown in the database.


svn: r20170
2012-08-01 18:46:40 +00:00
Andre Marcelo Varenga
46f9993461 update pt_BR translation
svn: r20134
2012-07-30 02:59:45 +00:00
Craig J. Anderson
a9a742a6db Fix for error
http://www.gramps-project.org/bugs/view.php?id=5221#c24809


svn: r20126
2012-07-29 00:33:21 +00:00
Jérôme Rapinat
13e320213a 5914: Cannot save bookmarked citations into Gramps XML file format
svn: r20047
2012-07-22 05:29:03 +00:00
Jérôme Rapinat
a712fe504f remove "PluginManagerGramplet" references (see rev20028)
svn: r20030
2012-07-19 05:45:49 +00:00