Commit Graph

4686 Commits

Author SHA1 Message Date
Serge Noiraud
763f2738dd
NAVWEB and WEBCAL: some minor corrections (#980)
* NAVWEB: set unused media to False by default

Fixes #11496

* Navweb: Center correctly the map in the web page

* Webcal: Dropmenu doesn't work if only one year.

* Navweb: Add notes to updates and delete empty rows

* Navweb: some code cleanup.

* Navweb: remove unused variable

* Narweb: references enhancement on place pages.

* Navweb: convert the years in gregorian cal.

* Narweb: remove unused argument

* Narweb: really solves the pyICU problem

* WEBCAL: missing death symbol
2020-01-17 11:46:40 +01:00
prculley
5624fb1490 Bump to v5.1.3 2020-01-10 11:43:58 -06:00
prculley
32c700c6bf Release Gramps 5.1.2 2020-01-10 11:29:07 -06:00
Serge Noiraud
a2ae7b93fc
Geography: Add custom tiles provider (#976)
* Geography: Add custom tiles provider

Fixes #11416

* Geography: some cleanup
2020-01-10 17:40:33 +01:00
Serge Noiraud
675dfdbc70
Narrated Web: bad event links on media pages (#983)
* Navweb: Don't use media regions in some case:

- If we don't show families
- If we don't show events

Fixes #011500

* Navweb: side effect between event and media pages

When a media is processed in the media display section for an event
page, it's remove from the media_list, so when we try to create the
media regions in the media page, the media list is empty and we
can't display the regions.

* Narweb: Don't show the regions for a thumbnail
2020-01-10 17:38:41 +01:00
Serge Noiraud
8184f1b603
Narweb: enclosed places not correctly sorted. (#977)
* Narweb: enclosed places nor correctly sorted.

Fixes #11487

* Narweb: some cleanup
2020-01-10 17:32:58 +01:00
Nick Hall
34beeaad70 Revert pull request #965
This reverts commit 801be84465.
2020-01-09 19:35:47 +00:00
Sam Manzi
50d8b110ae Add context menu entries for Gramplet Bar (#937)
Link to help for Gramplets and the Gramplet Bar Menu

Issue #10919
2020-01-09 12:16:14 -06:00
Sam Manzi
539a443639 Pedigree View - Add Help context menu (#938)
* Add [About Pedigree View]

Fixes #10919
2020-01-09 12:15:10 -06:00
Serge Noiraud
06cb9d7ea6 Narweb: Private notes for home, intro and contact (#953)
If the notes are private, we can't use them in these pages.
2020-01-09 12:09:25 -06:00
Moorob
0264dbbe43 Update _pythonmime.py (#972)
When editing a Media image, Unknown is displayed if the image is a Tiff or Png.  This changes this to display TIFF image or PNG image instead.  Just a cosmetic change.
2020-01-09 12:06:49 -06:00
Paul Culley
d693881b98
Update LDS Temple list (#984) 2020-01-09 12:04:15 -06:00
Paul Culley
801be84465
Fix Lat/Long translated NSEW display and entry in rtl language;Store Lat/Long in place objects with NSEW always in English (#965)
* Fix Lat/Long translated NSEW display and entry in rtl language

* Store Lat/Long in place objects with NSEW always in English

Issue #11335
2020-01-09 12:03:20 -06:00
Paul Culley
f46e5479a7
Improve CSV import to allow places that are not in enclosed order (#942)
* Improve CSV import to allow places that are not in enclosed order

Fixes #11407

* Add LOG.debug report of new places to CSV import
2020-01-09 12:01:56 -06:00
Paul Culley
7807ff8a6d
Make GuiDestinationOption Folder Icon start in users directory (#979)
Fixes #10917
2020-01-09 12:00:29 -06:00
Paul Culley
672603c8ae
Fix import file chooser filter to accept upper case extensions (#962)
* Fix import file chooser filter to accept upper case extensions

Fixes #11463

* Allow import file filter to accept case insensitive extensions

Co-authored-by: Nick Hall <nick-h@gramps-project.org>
2020-01-09 11:56:07 -06:00
Paul Culley
c30dfc6343
Fix db to warn/prevent opening newer schema versions (#945) 2020-01-09 11:38:16 -06:00
Paul Culley
e6ed0612e3
Fix Progen import to correctly handle AKA surnames (#959)
* Fix Progen import dialog and progress meter for correct parent window

* Fix Progen import to correctly handle AKA surnames

Fixes #11462
2020-01-09 11:37:31 -06:00
Paul Culley
9b0cf1b976
Fix ExportPkg so errors are not lost, and has progress bar for media (#957)
* Fix Export Assistant so error messages get correct parent window

* Fix ExportPkg so errors are not lost, and has progress bar for media

Fixes #11457
2020-01-09 11:36:38 -06:00
Paul Culley
ddb29b1628
Fix GEDCOM import when family is missing; import created a missing note (#971)
Fixes #11472
2020-01-09 11:35:28 -06:00
Paul Culley
1a8406e2e4
Fix Dashboard for adding Gramplet crash in Slovenian (#978)
Fixes #11491
2020-01-09 11:34:15 -06:00
Jiří Vejda
1916383a28 Update date parsing for czech locale (#968)
* Fixes bug ID 0011470: some date variants in CS language are not consider valid
2019-12-15 13:03:30 +01:00
Serge Noiraud
3938fac0d4
Narrative web: New features (#842)
* Narrative: Don't use event links if no event pages

+ some pylint changes

* map popup links must be visible for all stylesheet

* Narrative web: add scrollbar in popup content

* Narweb: Some improvement in popup

* Narweb: remove unused variable.
2019-12-15 09:59:58 +01:00
Serge Noiraud
ac37f11b87
Add tooltips for places in clean input data tool (#905)
* Add tooltips for places in clean input data

* Better pylint score for clean input data
2019-12-14 13:40:49 +01:00
Serge Noiraud
fd072528d2
Narrative web: Some improvements (#931)
* Narrative web: Some improvements

- Event type, Date and place in bold
- Family events shifted one column on the left
- ancestortree css file before narrative-screen to allow modification
- Adaptation for all themes

Fixes #11393

* Narrative web: forgot a comma during last merge

* Allow scrolling if the ancestor tree is too large

* Translation of alternate stylesheets name

* Crash when using the family map

* Translate only the css title, not the file name

* Some minor corrections to css files

* Narrative web: open layers optimizations

* Narrative web: open layers and link in popup

* Narrative web: some events missing in popup

* Narrative web: Reference date column too large.

Allow the place title to use the maximum of width

* NarrativeWeb: shift children from one column

- adapt the css files to the new table
- some inconsistencies between the source and the css

* Make the drop down menu button size usable

* NarrativeWeb: Incorrect rendering when use of

alternate place name

* NarWeb: removing the unused image heigth option

* Click on image link gives a not found URL.

If the image used in home, introduction or contact page
is not already associated by a filtered object, we have a 404 error

* NarWeb: Index images and thumbnails pages optional

* Narweb: Improper Notes subtitle in web pages

* Narweb: List index truncated after 999

* Narweb: NarrativeWeb usage enhancements

* Narweb: avoid duplicate files in archive.

* Narweb: Add an optional news and updates page:

When you have a big database and you make intensive updates, it's
useful to have a list of the last modified objects.
you can select the period to show and how many records to see per object type.

* Narweb: forgot to add the module updates.py

* Narweb: some minor changes (pylint, img index bug)

* Popups don't work with the last openlayers version

It only needs to move the scripts at the end of the html body.
Use addEventListener instead of onload in the html body statement.

* Narweb: some popup problems

* Narweb: better score for pylint
2019-12-14 11:55:16 +01:00
romjerome
7b45bbf72e
fix tagref support (#956)
Add missing code for event, repository, source, citation and place
2019-12-13 10:59:42 +01:00
romjerome
aea9ef3645
[Tree doc Tex] fix "-" char on place name (#961)
* fix "-" char on place name

"-" can lead to confusion, 
generating text out of the box
with PDF file format
2019-12-13 10:55:15 +01:00
Serge Noiraud
5157700da3
WEBCAL: Trying to have a better web calendar (#917)
* WEBCAL: Have config files for multiple databases.

* WEBCAL: best management for the narrative web link

* WEBCAL: use arrows, compress monthname and arrows

adapt the css files accordingly

* WEBCAL: use arrows in one day within a year

compress monthname and arrows
adapt the css files accordingly

* WEBCAL: index go now to the current month.

before this patch, the default month for the year calendar
was the month found at the web calendar generation.
Now, even if you create this report 8 months ago, the current
index will point to the current month.

* WEBCAL: trailing space.

* WEBCAL: year glance + some pylint improvements

* WEBCAL: incorrect width size with Mainz css.

* WEBCAL: problem with Visually css file

* WEBCAL: The table cell is highlighted when hover.

* WEBCAL: better pylint score.

* WEBCAL: Better rendering for full yer at a glance

* WEBCAL: better rendering on small devices

* WEBCAL: better quality code
2019-12-12 18:10:25 +01:00
romjerome
05f7744cba
typo on custom size (#963) 2019-12-09 20:25:07 +01:00
prculley
e3eedb2219 Merge branch 'gramps51' 2019-11-08 11:46:40 -06:00
Paul Culley
b7487330a7 Fix up Event Editors Place display for bidi text with Gramps ID (#924)
Fixes #10124

Fix up Event Editors Place display for bidi text with Gramps ID (PR 924)

Some versions of Gtk/Pango have trouble with text containing both LTR and RTL characters. The bug notes this shows up in our Event Editor on the 'Place" field, where we have the place displayer title and the Gramps ID concatenated into the same string.

In older versions of Gtk (3.18.9 tested) the bracket around the Gramps ID would get mangled to the beginning of the string:
<images>

In newer versions of Gtk (3.24.3 tested) it was better to start with:
<images>

The older version of Gtk/Pango doesn't seem to properly interpret all of the potential Unicode bidi control characters, so the fix shown is the best I can do. The fixed version of the newer Gtk version is what is desired.

I note that the Place displayer should be fixed up to use more appropriate separators than just commas for RTL text, but that is another issue.
2019-11-05 13:00:48 +11:00
Paul Culley
1025a38caa Fix issues with RTL languages and LAT/LONG (#922)
* Fix display of GPS coordinates in Places view for RTL languages

Issue #11335

* Fix place editor lat/long entry for RTL languages

Fixes #11335
2019-11-05 12:42:09 +11:00
Paul Culley
2054c467db Fix GEDCOM export to avoid translated GrampsType strings (#947)
Fixes #11410

The bug submitter noticed that the GEDCOM export contained translated strings in the MEDI lines of his export. GEDCOM should contain English values for most such cases where 'types' are exported.

I scanned the export code for other potential cases, and found:

* Certain unexpected event types on individuals (Marriage)
* Certain unexpected event types on families (Immigration, Residence, etc.)
* Pedigree types that were not standardized on PEDI,_FREL,_MREL (Sponsored, Unknown)
* Family Attributes other than Number if children (Caste, Description, National etc.)
* Personal Attributes other than Caste, Description, ID, National, number of children, SSN (Occupation etc.)
* The MEDI types of this bug report...
2019-11-05 12:22:26 +11:00
Serge Noiraud
789b72289c Narrativeweb: Referenced regions problems (#946)
When image width > 800, the referenced regions are incorrectly placed

Fixes #11414
2019-11-05 12:06:06 +11:00
Paul Culley
2e1132bec0 Allow Tools with Notbook tabs to expand to fill the window (#944)
Fixes #10762

User "petpil" (Gramps Bugtracker) noted that the Calculate Estimated Dates addon would not expand the size of its window content when the window was stretched. That addon used the ToolManagedWindowBatch which uses a Gtk Notebook to support several tabs. He also submitted a patch which fixes the problem.

The Gtk.Container.add method originally used apparently did not have expand/fill settings to allow the expansion. The Gtk.Box.pack_start used instead does.

I tested this with all the users of ToolManagedWindowBatch and ToolManagedWindow which inherit from ToolManagedWindowBase, and did not see any bad/unexpected side effects. The Calculate Estimated Dates addon was the only one that really could use this, as it was the only one which I spotted using a potentially large widget in the notebook tab.
2019-11-05 11:44:23 +11:00
Nick Hall
e69e6ca338 Limit Age Stats gramplet settings to appropriate values (#936)
* Max ages should be divisible by 5 to avoid out of range
  errors.
* The chart width should be greater than 45 to look right and
  avoid division by zero errors.
2019-10-30 09:35:32 +11:00
Paul Culley
fb29a77f83 Fix the Preferences 'Age display precision' value getting lost (#940)
Fixes #11384

It turns out the changes was actually changing the wrong config setting...

I had to look this one up. Using a lambda like this is called a 'closure' by some; what is happening is that the value 'constant' is being evaluated at the time the lambda is called, not when it is assigned. So in this particular bit of code the preference setting was actually changing 'preferences.family-relation-type' (the value of the variable 'constant' set a bit after the lambda definition.

I reverted this particular bit of code, as I think this kind of Python knowledge is pretty obscure (I could have just used a different unique name for the 'constant' variable).
2019-10-30 09:17:06 +11:00
Paul Culley
73d19851ef Fix Window family tree title for non-ASCII chars on Windows (#932)
Fixes #11390

As it says, if Family Tree name contained non-ASCII characters, the titlebar on Windows would display it wrong. Turned out to be reading of a utf8 file without the 'encoding' set. On Windows this results in using the default encoding which is one of the code pages, NOT utf8.
2019-10-24 10:24:04 +11:00
Paul Culley
16c8e61944 Fix Preferences/Genealogical Symbols when only one font is present (#930)
that passes

If user has only a single font available that passes check for the Genealogical Symbols being all present, the original code crashed. Apparently never tested... #598 

Fixes #11395
2019-10-24 10:07:52 +11:00
Paul Culley
79c54aaedc Fix various Entry fields so Undo/Redo works (#920)
Fixes #11380, #11339

In prior versions of Gramps you could use the undo/redo keys to edit items in the text entries. This no longer works.

This is related to the changes to suppress odd characters and leading/trailing spaces. The Gtk.Entry.set_text() call is effectively clearing the undo/redo list at every keystroke or when you leave the field.

In this PR I move the odd characters cleanup into UndoableEntry.do_insert_text instead of MonitoredEntry.

I scanned the users of MonitoredEntry and they all appeared to use Glade files, I scanned the glade files for anyone using just plain Entry (none found), they all appeared to use UndoableEntry or ValidatableMaskedEntry, so this should cover everyone.
2019-10-17 13:15:39 +11:00
Serge Noiraud
ee1d9be898 Narrative web: Ancestor's tree Fix display looks weird (#929)
* Narrative web: Ancestor's tree display looks weird

Solves the following:
- Person boxes overlap
- Some person boxes partially visible or hidden

Fixes #11382

* Narrative web: some cleanup in ancestortree.css

* Narrative web : ancestor tree and long names.

* Adapt ancestor tree css file for all themes
2019-10-17 11:17:31 +11:00
romjerome
75b0b66269 Fix tag colors on PedigreeView (#915)
Fixes #11363

* Handle long and short hex format black color

* Fix hex_to_rgb_float utility function
2019-10-17 10:57:36 +11:00
Paul Culley
c54f381737 Fix Gramps -v error when Gtk is not present (#923)
Via email a user noted a bug when "Gramps -v" was used with Gtk not installed (and gi was).
When the "gi.require_version('Gtk', '3.0')" was added during Gramps 5.0.0 timeframe, a corresponding exception was not.
2019-10-17 10:23:21 +11:00
Serge Noiraud
2aa6b54de4 NarrativeWeb: dates not localised in place pages (#916)
* NarrativeWeb: dates not localised in place pages

Fixes #11357

* WEBCAL: home link translated to lowercase

Fixes #11358
2019-10-17 10:07:59 +11:00
Baizley
49bad564ae Patch for PedigreeView not reflecting changes to birthday or death (#921)
Fixes #11366

* Make PedigreeView listen on event update signals.

The PedigreeView was not listening for updates on events, so changes to a birthday or death would not be reflected in the view.

* Remove comment about signal side-effects.
2019-10-17 09:23:02 +11:00
Paul Culley
03ab64c4d5 Fix improper escaping in odt output for TOC/Bookmark etc. (#928)
Fixes #11378

For the index, toc, bookmark etc. normal XML escape is correct, the original code also added sub-tags for line break and tab which was NOT correct.
2019-10-17 09:03:29 +11:00
Paul Culley
f7bd062bdb Fix CLI parser to accept negative integers as valid (#927)
Fixes #11381
2019-10-17 08:47:55 +11:00
Paul Culley
c312c96987 Fix Descendant Tree report for HandleError when no parents on family (#925)
Fixes #11365
2019-10-17 08:33:39 +11:00
prculley
0095a07f12 Fix Reorder ID tool to avoid scrambling the order IDs are assigned
Fixes #10641
2019-10-08 18:43:42 +01:00
prculley
bb5b03dd78 Fix Reorder ID tool so subsequent db additions used next possible ID
Fixes #11346
2019-10-08 18:43:42 +01:00
SNoiraud
4e2f98da02 Better score for pylint 2019-10-05 18:05:21 +01:00
SNoiraud
95a0216287 Duplicate marriage 2019-10-05 18:05:21 +01:00
SNoiraud
03fb2ff1c2 Incorrect results when divorce event 2019-10-05 18:05:15 +01:00
SNoiraud
17141a0536 Add alternate stylesheets 2019-10-05 18:03:03 +01:00
SNoiraud
528852b9b3 Allow alternate stylesheets in pages
Useful when you create a site web, you don't need to create a new
web when you are testing the stylesheets. The final user can change
the stylesheet for the current page.

i.e. on Firefox: View -> Page style -> The stylesheet
2019-10-05 18:02:51 +01:00
SNoiraud
0de286e7a8 Allow urls for images in user css files 2019-10-05 17:59:17 +01:00
SNoiraud
7979bf79fd Better code quality for within area rule 2019-10-05 17:28:21 +01:00
prculley
57f7502105 Fix deprecation of Gtk positional arguments 2019-10-05 17:17:54 +01:00
prculley
0f925a86f5 Fix Gtk deprecation Menu.set_title 2019-10-05 17:17:54 +01:00
prculley
17f4d93363 Fix Gtk deprecatioon ScrolledWindow.add_with_viewport 2019-10-05 17:17:54 +01:00
prculley
cea48b618f Fix GObject.PARAM_READWRITE deprecation 2019-10-05 17:17:54 +01:00
prculley
290d6f7287 Fix deprecation GObject.GError -> GLib.GError 2019-10-05 17:17:54 +01:00
prculley
4d0e86a2e8 Fix Gtk deprecation Widget.reparent 2019-10-05 17:17:54 +01:00
prculley
831c7f9c66 Fix Gtk deprecation Widget.set_padding 2019-10-05 17:17:54 +01:00
prculley
702e51dd47 Fix deprecation on Gtk.Widget.override_font and modify_font 2019-10-05 17:17:54 +01:00
Jonas Hahnfeld
f3555d0168 Add new graph output format to the tree document generator
The "graph" is the data part for genealogytree without the boilerplate
code around it that makes up a full LaTeX file. This format is useful
for people who have their own (more sophisticated) LaTeX file with
custom styles and so on.
The implementation is pretty straight-forward: Just don't output the
LaTeX code.
2019-10-05 17:05:38 +01:00
Matthias Kemmer
bedc4b8e74 Add a new person filter rule 'HasAddressText' 2019-10-04 21:07:52 +01:00
Matthias Kemmer
8a8a21f85d Add date format option for 'numeric date with leading zeros' 2019-10-04 19:59:54 +01:00
Nick Hall
c7350c53e2 Remove irrelevant comment 2019-10-04 19:54:00 +01:00
Fredrik Lindseth
52e76b506a Add descriptions to decendant tree report styles 2019-10-04 19:18:16 +01:00
Matthias Kemmer
ab52d0988e Remove tag from selected rows 2019-10-03 21:28:33 +01:00
Matthias Kemmer
5935a315b2 Add 'HasAttribute' filter rule to repositories, sources and citations
Fixes #9845
2019-10-03 21:05:14 +01:00
prculley
a07aae2e30 Fix export tests to actually test most files, and run for both dbs 2019-10-03 19:56:27 +01:00
prculley
8f5daac4a7 Fix exports to have consistent results 2019-10-03 19:56:27 +01:00
prculley
0cd6394b72 Upgrade export VCalendar to v2.0, so can export utf8
Fixes #11316
2019-10-03 19:56:27 +01:00
SNoiraud
57d8dcd574 WEBCAL: Wrong web calendar title on home page
Fixes #11354

This PR solves the possibility to have ">", "<" in the title
2019-10-03 19:50:04 +01:00
prculley
d5bb4da5a1 Fix Preferences so <ctrl>PageUp/PageDn doesn't stick on Dates tab
Fixes #11351
2019-10-03 19:41:05 +01:00
ailintom
5c44d925e1 Escape for name, dates and places in graph reports
Currently dates and places contain XML special characters (example: birth date
= "1867 <?>"), the item is rendered incorrectly in the report, when images are
included. Escaping special characters with html.escape solves the problem.

Also fixes the & sign in the name, which earlier caused the report to fail.
2019-10-03 19:08:57 +01:00
Paul Culley
c7e2e09b42 Fix 'Go' menu direct object selection, goes to wrong place (#907)
Fixes #11341

Fixes up the scrambled 'Go' menu, got messed up in the UIManager upgrade.
2019-09-25 11:39:58 +10:00
prculley
1eaa609058 Get BetaWarning correct for master 2019-09-16 11:13:08 -05:00
prculley
5f0c2c1c54 Set Beta warning to True 2019-09-16 11:02:03 -05:00
prculley
6d39920e6f Merge branch 'gramps51' 2019-09-16 10:54:55 -05:00
Nick Hall
710e40425f Bump to 5.1.2 2019-09-14 23:40:42 +01:00
Nick Hall
bb3eecb365 Release Gramps 5.1.1 2019-09-14 23:32:29 +01:00
SNoiraud
4379a09fd3 Fix deprecation warning in withinarea rule 2019-09-14 22:36:06 +01:00
Nick Hall
0dc2be6dd5 Disable development warning message 2019-09-14 19:25:22 +01:00
Jonas Hahnfeld
daa845492d Add options to sandclock in tree document generator
This works and is actually needed to style the root node.
2019-09-14 19:03:18 +01:00
SNoiraud
cc28935b15 Using regex in the sidebar gives different result
from previous gramps release.

Fixes #11321
2019-09-14 18:45:09 +01:00
prculley
c3206121df Fix odt output when db owner has XML unfriendly chars ('&')
Fixes #11327
2019-09-14 18:37:30 +01:00
SNoiraud
82cd211d29 Remove reload_custom_filters to conform to PR894 2019-09-13 15:48:50 +01:00
prculley
4244d70312 Fix CLI crash when generating reports
Fixes #11318, #11213
2019-09-13 15:45:12 +01:00
prculley
98cc9b3740 Fix Statusbar HandleError on merge families
Fixes #11320, #11294, #11279
2019-09-13 15:43:26 +01:00
prculley
846a4d1a32 Fix missing tooltip translations in the Note editor toolbar
Fixes #11289
2019-09-09 19:23:07 +01:00
SNoiraud
5767b9c3c8 Avoid bad coordinates in the ref place 2019-09-09 19:12:35 +01:00
SNoiraud
d397b83dc8 Avoid alphabetic characters in filter rules 2019-09-09 19:12:23 +01:00
SNoiraud
7617891faf Could not convert string to float
by using withinarea filter rule
+ difference between sidebar filter and filter rule
+ some pylint improvements
2019-09-09 19:11:59 +01:00
prculley
d096d269c7 Fix Graph outputs for multiple page PDF Postscript
Fixes #11305
2019-09-07 19:49:57 +01:00
prculley
e983578fff Fix to make Gtk 'action names' always valid
Fixes #11291
2019-09-07 19:40:45 +01:00
prculley
e10df9eb6d Fix missing menus/buttons when operating in non-English languages
Fixes #11292
2019-09-07 19:33:01 +01:00
SNoiraud
14acaca0b5 Cursor position error in lat and long fields
Fixes #11310
2019-09-07 19:16:00 +01:00
SNoiraud
6ba958cc41 Avoid all characters looking like a dash
hyphen
  non breaking hyphen
  figure dash
  em dash
  horizontal bar

Fixes #11308
2019-09-07 18:55:36 +01:00
SNoiraud
29994242c7 Set symbols for the active person 2019-09-06 17:23:11 +01:00
SNoiraud
69261509ee Set good symbols for marriage, baptism, cremation and burial 2019-09-06 17:22:59 +01:00
SNoiraud
d3d51677f9 Reduce the size of the sexuality symbol in relview
Fixes #11295
2019-09-06 17:20:21 +01:00
prculley
6602843f5a Fix exception when editing Note with italics/bold etc. in non English
Fixes #11284
2019-09-05 14:26:31 +01:00
Nick Hall
7ec4a429a4 Restore keybindings for gramplet bars
Resolves #11297.
2019-09-04 22:18:12 +01:00
Nick Hall
16d40189c6 Fix bug in web connection menu launching incorrect web site
Resolves #11280.
2019-09-04 22:15:10 +01:00
SNoiraud
4b9dba0c53 Translation problem when creating event filter
If you create a filter with the rule name:
    "Events with a particular type"
or
    "Events with <data>"
The menu "Travel", "Academic"... are not translated

Fixes #11293
2019-09-04 22:05:57 +01:00
SNoiraud
dd80e4b80e Error when checking option to add Quit to Taskbar
Fixes #11290
2019-09-04 22:03:09 +01:00
SNoiraud
e39e59c795 Make the narratives notes placement an option
From 5.1 the narrative notes are placed just after the name, gender and
age at death. This follow the feature request #6772.
Some people want to have this placement an option to have the same
functionality as before

Fixes #11283
2019-09-04 22:00:04 +01:00
prculley
f823e4f126 Bump to 5.1.1 2019-08-21 13:55:22 -05:00
prculley
a833dfb3ac Prepare for 5.1.0 release 2019-08-21 13:46:45 -05:00
Paul Culley
ee5f2fa600
Fix CSV import for multiple place enclosed by on multiple imports (#869)
Fixes #11259
2019-08-21 12:06:44 -05:00
Paul Culley
ba6254ca3f
Fix exception when merging with active sidebar filter (#870)
Fixes #11262
2019-08-21 12:05:59 -05:00
Paul Culley
7258bd9fd6
Fix GEDCOM importer for SOUR/REFN combinations (#871)
Fixes #11251
2019-08-21 12:03:56 -05:00
Paul Culley
49632d8789
Add support for GEDCOM import _FREL/_MREL tags in INDI/FAMC (#866)
Improve support for GEDCOM export of _FREL/_MREL in INDI/FAMC

Fixes #10750
2019-08-18 10:09:29 -05:00
prculley
4859c14aaa Fix typo in merge 2019-08-12 16:58:55 -05:00
Serge Noiraud
d89557acf4
Narrative web: some strings not translated (#838)
* Narrative web: some strings not translated

The confidence and the date are not translated in the family map page.
The date doesn't use the specified date format.

Fixes #11207

* Narrative web: another string to translate
2019-08-11 22:05:18 +02:00
Serge Noiraud
cdd3177b19
Narrative web: markers incorrectly placed. (#839)
* Narrative web: markers incorrectly placed.

In the map pages, the markers are not placed where it should be.
reproducible when zoom in/zoom out.

Fixes #11208

* Narrative web: background not correctly set.

If you use the Web_Basic-Cypress.css, the foreground and background
use the same color, so you see nothing.
you must hover the fields to see the text
2019-08-11 21:57:01 +02:00
Serge Noiraud
bb8ce0cce6
Narrative web: Sort problem with places. (#856)
* Narrative web: Sort problem with places.

Fixes #10868.

Places list is not sorted depending on the selected language.

If you start gramps in english or another language then try to generated
a narrative web report in another language, the navigation alphabet is
incorrect. This is true for the place list and the person list.
The problem was related to pyICU.

* Narrative web: some pylint improvement.
2019-08-11 21:50:50 +02:00
prculley
f4a8f21032 Merge from gramps51 2019-08-09 09:06:42 -05:00
prculley
e894c4478f Some pylint cleanups 2019-08-09 08:55:05 -05:00
prculley
bb255c8529 Merge with Gramps50 2019-08-09 08:53:17 -05:00
prculley
fe87150c14 Bump to v5.0.3 2019-08-08 12:09:55 -05:00
Paul Culley
e59aa58c63
Fix some Gramplets not updating during tree changes after db change. (#865)
Fixes #11234
2019-08-08 11:50:47 -05:00
Paul Culley
3e2e8a837f
Fix Events Grampslet for bad sort order on dates/ages (#867)
Fixes #7616
2019-08-08 11:49:55 -05:00
Paul Culley
c0ff650748
Fix References Tab to update on Deletes of items when editor is open (#864)
Fixes #11231
2019-08-08 10:00:14 -05:00
Paul Culley
44104671b9
Fix GEDCOM import for better support of TMG (#861)
Fixes #11224
2019-08-08 09:59:14 -05:00
Paul Culley
afa8e73486
Fix Edit Link 'New' button to work (#863)
Fixes #11225
2019-08-07 13:49:31 -05:00
Paul Culley
27c38018fa
Fix GEDCOM importer to properly handle multiple surnames per 5.5.1 (#862)
Fixes #11228
2019-08-07 13:48:49 -05:00
romjerome
56afb5bca9 Add missing 'get_number_of_citations' method (#859)
* Add missing 'get_number_of_citations' method

* update db test for bsddb

* fix trailing whitespace

* typo
2019-08-07 13:47:09 -05:00
Serge Noiraud
96fcef2a84 Narrative web: Sort problem with places. (#854)
* Narrative web: Sort problem with places.

Fixes #10868.

Places list is not sorted depending on the selected language.

If you start gramps in english or another language then try to generated
a narrative web report in another language, the navigation alphabet is
incorrect. This is true for the place list and the person list.
The problem was related to pyICU.

* Narrative web: some pylint improvement.
2019-08-01 08:31:39 -05:00
Paul Culley
7e7dd68b58
Fix Navigator sidebar so can change view type with proper resize (#853)
Fixes #6422, #11164
2019-08-01 08:27:38 -05:00
Paul Culley
ab5a810990
fix crash when using sidebar filter and merging in another view (#858)
Fixes #11089, #11064, #11134
2019-07-31 16:50:22 -05:00
Paul Culley
f7d58f4c28
Fix AncestorTree so add siblings to center person works (#852)
Fixes #11215
2019-07-31 16:48:55 -05:00
Paul Culley
17dc7f7d23
Fix Preferences dialog so General tab appears first, not Symbols (#844)
Fixes #11210
2019-07-31 16:47:18 -05:00
Paul Culley
5c6a0ebff3
Fix graphs on Windows for font selection not working (#850)
Fixes #11212
2019-07-31 16:46:09 -05:00
Paul Culley
949296a801
Fix graphs on Windows for font selection not working (#849)
Fixes #11212
2019-07-31 16:45:15 -05:00
Paul Culley
15e033c02c
Fix dbapi reindex_reference_maps tool to properly close transaction (#847)
Fixes #11195
2019-07-31 16:35:05 -05:00
Paul Culley
3fccf5a9cb Fix crash when addon/plugin contains an id with space (#836)
The updated uimanager and managedwindow uses the plugin id to create actions for plugins that make a window to support the menus. If the plugin id contains a space, Gramps crashes.

Fixes #11202
2019-07-11 11:01:47 +10:00
Paul Culley
80749afd09 Fix zoom via mouse wheel in media event editor selectionwidget (#835)
also fixes zooming with scroll bars always present

Fixes #11198
2019-07-11 10:52:36 +10:00
SNoiraud
9da8f705f6 Narrative web: Add popup to manage markers
If you click on a marker in the family map page, you get a popup.
In this popup associated with a place, if you have several events,
for each event you see the person and the event type.
If you click on the person, you go to the related page for this person.
If you click on the event type, you go to the related page for this event.

Fixes #11150
2019-07-07 19:25:42 +02:00
SNoiraud
ce4cd33139 Narrative web: Add Stamen map
Fixes #05984
2019-07-07 19:24:44 +02:00
Serge Noiraud
804c03b286 Geography: pins very big when related to 2 places (#830)
Fixes #10644
2019-07-05 13:13:24 +10:00
Serge Noiraud
bb3a1d3609 OSM forward all http resquest to https. (#829)
After asking the OSM support, I was told OSM forward all http request to
https when we use .org url.
So it should work in all cases.

This has an energy cost, so it would be good for the planet to change
http to https.
2019-07-05 12:55:18 +10:00
Paul Culley
a9b4e22fb0 Fix duplicated accelerators (#831)
Fixes #11186
2019-07-05 12:11:30 +10:00
prculley
ce30c874d1 Merge with Gramps50 2019-06-16 13:35:35 -05:00
prculley
d2bad63603 Fix typo in 'Fix some XML fragments to aboid double translations' commit 2019-06-16 09:14:42 -05:00
Nick Hall
3a505745f3 Change default database backend to SQLite 2019-06-15 17:59:43 +01:00
prculley
6d67dff94c Fix some XML fragments to aboid double translations 2019-06-15 17:32:40 +01:00
prculley
81a1b675af Fix CLI import so that different db types can be used
Fixes #11171
2019-06-15 17:21:34 +01:00
Mattkmmr
1b7b20756f Fix metadataviewer.py (#823)
Fix so that metadata is actually detected and displayed (signal was not getting detected).
2019-06-14 10:57:15 +10:00
Mattkmmr
f24e29998d Fix metadataviewer.py (#823)
Fix so that metadata is actually detected and displayed (signal was not getting detected).
2019-06-14 10:55:13 +10:00
SNoiraud
2c15e382bd Problem during merge: One line disappeared. 2019-06-12 10:11:40 +02:00
SNoiraud
1ef467c9e3 Solves several problems following merge of PRs 2019-06-11 14:29:32 +02:00
prculley
7b3c86a4f5 Fix _Manage Family Trees... string to add ... back in 2019-06-10 14:02:49 -05:00
Serge Noiraud
7dc532c743 Avoid comma in a lat/lon entry field. (#812)
* Avoid comma in a lat/lon entry field.

* Be more precise on the tooltip text.

* conv_lat_lon should not accept comma in lat/lon

* Tests failed with comma in lat/lon

* geoplaces fails to center if bad lat/lon
2019-06-10 17:27:03 +10:00
Serge Noiraud
2951a0acf0 Avoid invalid characters in the entry field (#811)
In this patch:
 1 - If you copy/paste strings from another application,
     you can add CR, LF, TAB and other special characters. I remove them.
 2 - suppress all leading and trailing spaces for these entry field.
2019-06-10 17:12:48 +10:00
Mattkmmr
73705b08cd Fix '_hasattributebase.py' (#820)
Check all values of an attribute type and not only the first one.

Check all values of an attribute type. If a person has several attributes with the same type/key the current behaviour is that only the first value is checked.

Example Person X Atrributes:

    (Key=occupation: Value=farmer)
    (Key=occupation: Value=soldier)
    (Key=occupation: Value=smith)

=> Currently: Filter 'persons with attribut' (Key=occupation, Value=farmer) returns Person X, but no return of Perrson X for (Key=occupation, Value=soldier) or (Key=occupation: Value=smith).

=> After fix: Person X is returned for all three filter searches.
2019-06-10 11:47:37 +10:00
Paul Culley
7ca19214d6 Fix crash for multiple deletes in one transaction (#814)
Fixes #11117
2019-06-10 11:39:54 +10:00
Paul Culley
f123cac308 Fix uimanager, menu translations (#816)
Fixes #11151
2019-06-10 11:25:34 +10:00
Ed Bennett
87955ed2e9 Adjust translation strings for unmarried partners to give correct text in English (#818)
Fixes #11109
2019-06-10 11:07:22 +10:00
Mattkmmr
c61e79be76 Fix '_havechildren.py' person filter (#819)
* Fix '_havechildren.py' person filter

Check all families of a person for children and not only the first family

* Update 'person_rule_test.py' and '_havechildren.py'

Correct number for persons who have children is 905
2019-06-10 10:43:26 +10:00
Ed Bennett
805e07d09a Allow an option to not use hexagons for those of unknown gender
Fixes #11112
2019-05-20 10:23:33 +01:00
SNoiraud
e6324fe3d8 Add a mailto choice to Internet Address
Fixes #11149
2019-05-20 10:17:30 +01:00
Serge Noiraud
75d2f3dd00 Add option to show the Gramps ID in parenthesis in the fan chart
Add option to show gramps id.
Improve pylint score for the modified files.

Fixes #11045
2019-05-20 10:16:10 +01:00
SNoiraud
77124496e8 New tool to suppress leading and trailing spaces.
This tool is looking for place names with leading or/and trailing spaces.
It also looks for in the first name and surname.

For each entry which contains leading or trailing spaces,
a row is added in a treeview.
You can see where the spaces are for each row as the name is underlined.

If you double click on the row, you can edit the Place or the Person.

Fixes #10824
2019-05-14 19:06:19 +01:00
matt
6bca4083cb Add occupation and residence events and attributes in the import
User can now add the following columns in the csv import file for a person:
- Occupation description
- Occupation date
- Occupation place
- Occupation source
- Residence date
- Residence place
- Residence source
- Attribute type
- Attribute value
- Attribute source
the corresponding events will be added to the person.
The user can put several lines for the same person if two occupations are known, one event per line will be created.
2019-05-14 10:38:11 +01:00
prculley
3ba2253ac0 New feature to allow added rules to define their own GUI elements 2019-05-13 19:30:03 +01:00
prculley
eb36980715 New feature to allow new rules in their own catagory in addons 2019-05-13 19:30:03 +01:00
prculley
8366ceb896 Allow filters/rules via plugin without fail on restart 2019-05-13 19:30:03 +01:00
prculley
5311cc7744 Fix Python time.clock deprecation 2019-05-13 18:47:13 +01:00
prculley
0213e65ff0 Fix PythonDeprecationWarning for collections.abc 2019-05-13 18:46:39 +01:00
prculley
c82ec4c65b Bump required Python version to 3.3 2019-05-13 18:45:38 +01:00
Keepun
63cd18ebfb Relationship Graph: Father and Mother are connected by an invisible line. 2019-05-13 12:37:27 +01:00
SNoiraud
52b9fe8276 Have a better narrative web site
10341:
When we are on a mobile phone or a small device, we suppress the navigation tab.
In place, we have a new icon on the upper left which is used to show the dropdown menu.
Thanks to Theo van Rijn for showing me the way to do that.

10962:
For Home, Introduction and Contact, If we have an image and this image contains regions,
show the regions. We can go directly to the person page associated to this region.
If we click on the image, we go directly to the associated media page. This will be true only if we selected "include images and media objects" and "create and only use thumbnail" is unselected

11018:
The first line identifying a family will be more legible.
The link is not useful in the parents and pedigree section for the current person.
Adapt some css files.

11029:
sort the place references either by date or by name.

Resolves #10341, #10962, #11018, #11029
2019-05-13 11:44:12 +01:00
SNoiraud
cd092897bc GEPS 039: Genealogical symbols in gramps
Gramps should be able to use genealogy symbols everywhere.

Several kinds of use for the genealogical symbols :

    The graphical interface (GUI, editors, graphical views, ...)
    The Web reports (webcal, narrativeweb, ...)
    The Text reports (odf, rtf, pdf, ...)
    The graphical reports (odf, rtf, svg, ...)

Resolves #9098
2019-05-13 11:17:12 +01:00
vantu5z
735e17a8cb Enhance layout of the preferences dialog 2019-05-12 19:31:13 +01:00
khrys63
08a4aeff7b Add Ahnentafel option on hourglass 2019-05-12 18:23:37 +01:00
SNoiraud
e4564ec86e Webcal: better help msg for the after year option. 2019-05-12 16:09:36 +01:00
SNoiraud
76961fd675 Webcal: Include only events after year 2019-05-12 16:09:36 +01:00
SNoiraud
2f9704c680 Better quality code for codacy and pylint 2019-05-12 16:09:36 +01:00
SNoiraud
98a38cde57 Webcal: add death event
Fixes #5025

add some cleanup
use html_escape instead of _escape
2019-05-12 16:09:36 +01:00
prculley
4f14cbc12c Add buttons for arrangement of GalleryTab media order 2019-05-12 15:15:38 +01:00
prculley
b765d7eae0 On restart after crash, offer to run Check & Repair 2019-05-12 15:14:58 +01:00
Sam Manzi
3f28b5fcb5 Add tooltip for Gramplet Bar
To improve discoverability of the Gramplet Bar Menu (Currently a nameless down arrow at end of each Gramplet bar title tab) add a tooltip.

Issue #9042
2019-05-12 13:44:13 +01:00
caigner
903069fd34 changed 'Edit ->Set Home Person' to 'Edit -> Set Home Person' 2019-05-12 13:38:03 +01:00
SNoiraud
03d0baa2bf extrapage can now point to joomla, drupal, ... 2019-05-12 13:29:03 +01:00
Nick Hall
3096c2b09a Remove extraneous whitespace after assignment 2019-05-12 11:41:11 +01:00
Nick Hall
976edfbf1d Remove extraneous whitespace before assignment 2019-05-12 10:21:16 +01:00
Nick Hall
2a5fee85c5 Use theme settings for the error state of entry widgets
Use the current Gtk theme settings for the appearance of the
ValidatableMaskedEntry widget in its error state.  This avoids
problems with dark themes.

Fixes #11046.
2019-05-12 07:22:24 +01:00
Nick Hall
1b1452c7b7 Remove extraneous whitespace before colon 2019-05-12 07:00:44 +01:00
Nick Hall
50ed9268f9 Replace _2BUTTON_PRESS by DOUBLE_BUTTON_PRESS 2019-05-12 06:59:10 +01:00
Keepun
488eaced8c vCalendar: Convenient display on mobile devices. 2019-05-12 06:50:16 +01:00
Jonas Hahnfeld
9442c1ef7e Add first class support for Occupation attribute
This was already used in PersonDetails and (incorrectly) in TreeDoc.
Add it to the list in AttributeType, provide translations and fix
usage in TreeDoc in case the user is not running with English translation.
2019-05-12 06:48:56 +01:00
prculley
67c8fd18cb Merge with Gramps50 branch 2019-04-23 11:01:07 -05:00
Paul Culley
e9412a2479 Fix failure after Gedcom import if missing objects were found (#807)
Fixes #11082
2019-04-14 10:42:05 +10:00
John Ralls
c615b4dc32 [maclocale] Fix none type has no len().
Fixes #11075
2019-03-26 08:52:29 -07:00
Paul Culley
450217a636 Fix Gedcom import so it doesn't create completely empty Birth events (#799)
Fixes #10145

Note: a completely empty birth event is removed by Check and Repair; this is wrong in that sometimes we know a person is born, but not date/place. In Gedcom this is indicated by "1 BIRT Y" lines.

So this PR adds a description to the birth event. This is not an issue for other event types, the C&R tool sees the non-default type and leaves it alone, but birth is the default type.
2019-03-17 16:51:15 +11:00
Paul Culley
aff888a0b5 Fix Relationship view so ages are according to Preferences (#798)
Fixes #11040
2019-03-17 15:18:00 +11:00
Paul Culley
71ad5ffb04 Fix Person Editor Events to properly update during external changes (#797)
like Event delete or update.

Fixes #11051

Looks like someone simply forgot to register the handles with the callman...

I checked other similar cases and did not see any other issues.
2019-03-17 15:02:29 +11:00
Paul Culley
100d6d0672 Gedcom fixes for mime and finding media (#795)
* Fix Gedcom import/export for more comprehensive mime types

Fixes #11041

* Fix Gedcom import to better find media files

Issue #11041

* Fix Gedcom test files for media mime and error location message
2019-03-17 14:44:42 +11:00
Serge Noiraud
d96b6d19b8 Unhandled exception in Geography editor (#793)
Fixes #11048

better pylint score
remove unused code
2019-03-17 14:26:11 +11:00
Paul Culley
bf4b3962bc Fix relationshippathbetween filter rule when parent is missing (#792)
Fixes #11049

Another HandleError issue, this one hidden by the raw except. Filter rule just did not work if a family in the path had a missing parent.
2019-03-17 14:12:11 +11:00
Paul Culley
51f44c2fd7 Fix Graphs that use graphdoc pdf via Ghostscript with multi-page (#791)
for poor font rendering of some characters (thanks to Ken Sharp)

Fixes #11047
2019-03-17 13:55:54 +11:00
Paul Culley
54c3b29793 fix finddupes tool when run from Match Threshold screen again (#790)
after merge.  Avoids HandleError because potentials dict is not
cleared.

Fixes #11044
2019-03-17 13:26:06 +11:00
Paul Culley
f84c2ecf11 Fix Gedcom import for multiple notes on OBJE (MULTIMEDIA_LINK) (#782)
Fixes #10277
2019-02-14 15:32:16 +11:00
Paul Culley
7a82b78ff9 Deal with SQLite db corrupted by None name mapping (#784)
Fixes #11011
2019-02-14 15:05:01 +11:00
Paul Culley
39a0d8c648 Fix XML import to add tags to Events, Sources, Places, Repos, Cits (#780)
Fixes #11004
2019-02-14 14:45:28 +11:00
Paul Culley
62f8049d6a Fix for delete of a ref'd primary obj while editing an added obj. (#779)
Also fixed to update the ref'd obj on changes from outside the
editor.

Fixes #10999, #11000, #11001, #11002
2019-02-14 14:31:21 +11:00
Paul Culley
d65ad470d6 Fix Place Tree view when using enclosed by sidebar filter (#764)
the filter was incorrectly using a standard place cursor instead of
the tree cursor.

Fixes #10948
2019-02-14 14:08:53 +11:00
Paul Culley
b4e4dbbcf2 Fix EditFamily for adding a child to single parent family with (#777)
Surname guessing set to combination.

Fixes #10997
2019-02-03 09:30:45 +11:00
Paul Culley
4c6c052729 Fix Descendent Tree report for crash when person has multiple (#773)
families and one of them doesn't have a spouse.

Fixes #10983, #10971, #10661
2019-01-23 08:44:40 +11:00
Paul Culley
abcf304ea7 Fix Name editor crash after clearing a group_as name on dbapi dbs (#771)
Fixes #10981
2019-01-22 14:19:25 +11:00
Serge Noiraud
dba752c328 We should stay on the selected item in list views: (#770)
Fixes #10966

When we try to merge two objects, we should stay on the selected row
in list views.
This problem occurs for persons, families, events, places, sources,
citations, repositories, media and notes.

Another problem:
In case we select the first family and select the gramps_id of the
second family, the new gramps_id is ignored: problem in MergeFamilyQuery
2019-01-22 13:45:04 +11:00
Paul Culley
0dd2b9d0fd Fix Relationship Graph; extra people when using filters & subgraphs (#769)
subgraph option wasn't checking parents against filtered results

Fixes #10947
2019-01-22 13:31:22 +11:00
Paul Culley
807eab7cd9 fix Place Format Editor file save/load for difficult names (#766)
Fixes #10949
2019-01-22 13:00:16 +11:00
Serge Noiraud
2bc5f63406 Not all place types appears on family lines Graph (#763) 2019-01-22 12:45:54 +11:00
Richard Clay
29b0e824a2 Some pylint improvements 2019-01-14 19:57:36 +00:00
Richard Clay
fb886c5954 Add option to hide empty information on statistics chart 2019-01-14 19:55:12 +00:00
prculley
051311bbbd New CLI commands; 'safe' mode and 'default' 2019-01-14 19:38:43 +00:00
prculley
f4c94c48b4 Fix config file load for bad/old style Python syntax 2019-01-14 19:38:43 +00:00
prculley
c04b6f6fdf Filter Rule editor, save pane position 2019-01-14 19:29:25 +00:00
prculley
4dd6abfe85 Remove old Gtk drag/drop bug fix, no longer needed 2019-01-14 19:20:37 +00:00
prculley
73402dfb05 Drag/drop only one type of source 2019-01-14 19:20:36 +00:00
prculley
a1c02bda9b Filters optimization; Use cache proxy with filters in views 2019-01-14 19:10:21 +00:00
prculley
67cf51bbf3 Filter fixes to prevent MatchesFilter types from running multiple times 2019-01-14 19:07:00 +00:00
Nick Hall
77cc12a42e Replace eval with getattr when loading plugin classes 2019-01-12 19:10:40 +00:00
SNoiraud
290815cba8 Geography places: add color for custom places name
Fixes #10785
2019-01-12 19:07:42 +00:00
SNoiraud
979a477773 NarrativeWeb: add enclosed by and encloses (place)
Fixes #10743

includes the problem with private places (see PR 679)
2019-01-12 19:04:28 +00:00
prculley
2e17c65a2c Fix Delete dialogs to all canceling multiple deletes more easily
Fixes #10796
2019-01-12 18:58:34 +00:00
Alois Poettker
a592f7b2fd Show death/burial information only if person is proabably dead 2019-01-12 16:17:59 +00:00
Paul D.Smith
03a89c73e3 Add compact Ancestry trees using Buchheim/Walker algorithm
This enhancement adds a new 'compact' field to the Narrated
Web Report. A compact tree is one that is not a simple binary
layout but uses the algorithm of Buchheim/Walker to create a
layout that is sensible but also compact.

Creating a compact layout is slower than a simple binary
tree but the results are significantly improved and do not leave
large areas of whitespace where there are no nodes to be shown.
2019-01-12 14:39:56 +00:00
Sam Manzi
45d3c43680
Remember location of Sort Events Tool (#750)
Issue #9795
2019-01-12 14:04:30 +11:00
Paul Culley
c7f2b19784 Fix Media editor when using double click the preview of added media (#752)
Fixes #10923
2019-01-06 12:11:12 +11:00
Serge Noiraud
97aedaae99 Avoid leading and trailing spaces when copy/paste (#747)
coordinates from a map provider.

Fixes #10937
2018-12-29 16:41:24 +11:00
John Ralls
285fbf2c97 Set correct font resolution for Mac when drawing text directly to cairo. (#745)
Fixes #0010924
2018-12-29 16:01:14 +11:00
prculley
1b824c410b Merge with gramps50 2018-12-23 09:57:37 -06:00
prculley
508df3048d Bump to 5.0.2 2018-12-20 11:20:59 -06:00
prculley
cb8bf0d00a Release Gramps 5.0.1 2018-12-20 11:16:55 -06:00
Paul Culley
44180b45e2
Help issues for bug 9042 (#738)
* Media Manager: add help button and remove '...'

Issue #9042

* Edit/Preferences: add Help button

Issue #9042

* Style Editor, Document Styles dialog: add help buttons

Issue #9042

* Fix Select Person dialog Help button URL

Issue #9042

* Fix Select Repository dialog Help button URL

Issue #9042

* Relationship Calculator: Add help button

Issue #9042

* Reorder Relationships dialog; add Help button

Issue #9042

* Generate Book Dialog; Fix Help URL

Issue #9042

* Manage Book dialog; add help button

Issue #9042

* Fix Detached Gramplets Help button URL when 'help_url' not in .gpr

Issue #9042

* Fix help URLs when they contain illegal characters and to match wiki
section targetID algorithm

Issue #9042
2018-12-20 09:10:58 -06:00
milotype
ec075e360b Croatian localisation updates (#741)
* Update/Completion Croatian translation

This is a big update. The croatian translation is now 100% complete.
Translated all missing strings, made lots of corrections, improved
consistency in the wording, tested thoroughly.  Also, it will work
with the updated datehandler file "_date_hr.py", which i'll be
updating simultaneously.

* Croatian Datehandler update

Made changes to fit croatian specific date handling. Also because i've
updated the hr.po file. I've tested it with the present
"_datedisplay.py" of the maintainance/gramps50 branch.

Basically it would be great, if next to the obligatory "display_iso"
format, only two more formats would show up in the croatian drop-down
menus: "dd_dformat01" (numerical) and "dd_dformat04". Other formats
are unneeded.

9. 5. 2018.  => ordinal numbers, all separated by spaces
9. svibnja 2018.  => ordinal numbers and genitiv month's form,
all separated by spaces
2018-12-20 08:35:33 -06:00
Nick Hall
e4cbca4b73 Fix contents of enclosed_by secondary dbapi column (#742)
The enclosed_by column should contain the first value in the list
instead of the last.

Resolves #10907.
2018-12-19 18:10:00 -06:00
SNoiraud
496d4e1703 Google maps URL problem
Fixes #10772
2018-12-18 14:31:47 +00:00
prculley
8d5f2bd050 Fix ODT reports with links when run in non-English languages
Fixes #10911
2018-12-18 14:24:51 +00:00
prculley
96e4707c89 Allow addon Reports to specify a help button URL for options dialog
Fixes #10910
2018-12-18 14:21:30 +00:00
Nick Hall
8fc03f85a1 Fix Rebuild Secondary Indexes tool for dbapi backends
For dbapi backends, this tool will update the secondary columns
that are used for indexing.

Resolves #10757.
2018-12-18 14:18:03 +00:00
prculley
b4b7911405 Fix dbapi set_name_group_mapping to properly close transaction
Fixes #10730
2018-12-18 14:14:59 +00:00
prculley
88373c0eb6 Fix Russian date handler crash when Russian .po isn't present
Fixes #10855
2018-12-18 14:10:56 +00:00
Paul Culley
1ae319ef2a Fix Quickview for missing table data on some Gtk Versions (#593)
Issue #10448

Issue #7867
2018-11-29 10:55:12 +11:00
Paul Culley
0340337107 Fix startup messages with bad filename (#720)
Fixes #10885
2018-11-29 10:37:49 +11:00
Paul Culley
bb1d59a29d Restrict Place view Name col to the primary name (#673)
while allowing searchbar to find alt and primary names

related to
Issue #9276

while allowing searchbar to find alt and primary names.

Currently, the Place View and Place Selector name column shows a comma separated list of the primary and alt names for a place. With the advent of GeoNames and Gov data, the alt names lists are getting populated with (sometimes long) lists of (sometimes duplicated) names. This doesn't look very good in the view. I've gotten a couple of email complaints about this.

The Name column was originally extended (for Gramps50) to include alt names to allow the use of the top search bar (enabled when sidebar is turned off via 'View/Sidebar'), to perform a search through all the alt names as well as primary name. https://gramps-project.org/bugs/view.php?id=9276

This PR creates a new (hidden) column in the place model containing the full name list, and reverts the 'Name' column to the primary name. It also modifies the PlaceSelector and PlaceView classes to cause the search bar to use the new (hidden) column.
2018-11-29 10:23:11 +11:00
Paul Culley
d01afb3000 Fix Person Sidebarfilter when using 'Event' and Reg expressions (#729)
Fixes #10659
2018-11-29 09:56:39 +11:00
Paul Culley
a99c02d9a7 Fix Find Duplicate People; exception when deleting someone shown (#728)
outside of the tool
Fixes #10875
2018-11-29 09:42:03 +11:00
Paul Culley
dd43cde20e Gedcom export, upgrade OBJE handling to Gedcom 5.5.1 style (#702)
Fixes #10797
2018-11-29 09:28:56 +11:00
Paul Culley
e356573605 Fix CSV import to set marriage event role to family (#725)
Fixes #9952
2018-11-29 09:15:01 +11:00
Paul Culley
6672230f23 Fix typo in CitationListModel for sort change (#730) 2018-11-28 19:27:47 +01:00
Serge Noiraud
8c35277267
Fix Adding "ToDo" note crash when no active object (#685)
* Fix Adding "ToDo" note crash when no active object

Fixes #10795

* Better message when no active object.

* resolve conflict: Fixes #10795
2018-11-28 12:58:46 +01:00
Paul Culley
38bfb760a3 Fix Citation List view Source Last Changed Column to sort properly (#723)
Fixes #10893
2018-11-28 19:04:45 +11:00
Paul Culley
a02d7d0176 Fix for re-entrant main window close when user hits 'x' again (#724)
Fixes #10897
2018-11-28 18:33:06 +11:00
Paul Culley
999a3937d1 Fix exception when closing early editor in tree of editors (#706)
Fixes #10876
2018-11-28 18:05:14 +11:00
Serge Noiraud
a7e683d909 Narrative Web: thumbnails problems in some cases. (#722)
Fixes #10890
2018-11-28 16:28:41 +11:00
Paul Culley
8e09235351 Fix 'Generate Book' dialog for crash on 'x' close (#726)
Fixes #10901
2018-11-28 16:14:42 +11:00
Paul Culley
b934b0d424 Fix ToDo Gramplet for multiple attempts to edit a note (#719)
Fixes #10645
2018-11-28 15:34:12 +11:00
Paul Culley
9cc6e3a05e Fix Dashboard for multiple copies of a Gramplet (#718)
* Fix Dashboard for multiple copies of a Gramplet

Fixes #10650

* Fix Dashboard to recall minimized or undocked Gramplets
2018-11-28 15:17:19 +11:00
Paul Culley
6cdc88e6f8 Fix Person Sidebarfilter when using 'Event' and Reg expressions (#717)
Fixes #10659
2018-11-28 15:10:30 +11:00
Paul Culley
d6dd1dc221 Fix Statusbar update to avoid intermittent exception on closed db (#716)
Fixes #10882
2018-11-28 14:56:36 +11:00
Paul Culley
21206af12b Fix FilterParser for much older 3.x custom_filters.xml files (#715)
Fixes #8075

Fixes #10669

Fixes #10516
2018-11-28 14:36:41 +11:00
Paul Culley
6506e85ea9 Fix IsDuplicatedAncestorOf filter rule to avoid crash on tree loop (#714)
Fixes #10685
2018-11-28 14:06:43 +11:00
Serge Noiraud
1d3202710a Narrative web : use latest version from openlayers. (#713)
Fixes #10884
2018-11-28 13:43:40 +11:00
Paul Culley
7078ca18ee Fix StyledTextEditor EditLink for root text changed to zero length (#709)
in the background

Fixes #9750
2018-11-28 13:26:47 +11:00
Paul Culley
b1fc676a55 Fix AgeOnDate and some reports using SimpleAccess for missing surname (#708)
Fixes #9958

Fixes #9800
2018-11-28 13:13:30 +11:00
Paul Culley
5ef7739c60 Fix crash when a filter with loop in definition is defined (#707)
Fixes #10621
2018-11-28 12:59:27 +11:00
Paul Culley
a9748571f3 Fix Find Duplicate People; exception when deleting someone shown (#705)
outside of the tool
Fixes #10875
2018-11-28 12:07:23 +11:00
Paul Culley
b4e5bd9eb2 Fix HandleErrors related to LDS (#697)
* Fix ReferencedBySelection proxy for 'None' LDS Parents

Fixes #10865

* Fix HandleError in Citations Gramplet for lds place missing
2018-11-28 11:47:49 +11:00
Paul Culley
e0e19492cd Change PlaceView drag from whole row to just icon during drag (#695)
Fixes #10863
2018-11-28 11:25:44 +11:00
Paul Culley
817f4b7205 Add drag Icon to drags from DisplayTabs Gramplet lists (#694)
Fixes #10859
2018-11-28 11:08:30 +11:00
Paul Culley
4c7b24ba30 Fix dialogs for 'Help' button closes the dialog, and non-functional 'Help' (#727)
* Fix Family Tree manager for 'Help' button closes dialog

Fixes #10589

* Fix selectors for 'Help' button closes dialog

Fixes #10589

* Fix 'Generate Book' dialog for 'Help' button closes dialog

Fixes #10589

* Fix TestcaseGenerator for 'Help' button closes dialog

Fixes #10589

* Fix Selectors to enable the 'Help' buttons to actually work

Fixes #10589
2018-11-28 08:30:06 +11:00
prculley
b32e9d812e Avoid HandleError when dragging an Added Family from EditFamily
Fixes #10858
2018-11-24 11:35:01 +00:00
prculley
8da22fcbbf Avoid HandleError when dragging an Added Person from EditPerson
Fixes #10857
2018-11-24 11:34:27 +00:00
prculley
582d61e67e Fix Clipboard rows cannot be sorted via drag/drop
Fixes #10849
2018-11-24 11:23:44 +00:00
prculley
c110d9bc23 Better default directory choices for import/export
Use recent-export-dir as default for Export View
instead of the console default directory, which can be where
program resides (on Windows), or other inappropriate place.

Use USER_HOME for default directory on 'Export' (recent-export-dir)
if first run (default settings) rather than default directory, which
can be where program resides (on Windows), or other inappropriate
place.

Use USER_HOME for default directory on 'Import' (recent-import-dir)
if first run (default settings) rather than recent file which is
generally set to the grampsdb path.

Fixes #10802
2018-11-24 11:20:45 +00:00
SNoiraud
f4966ca793 Records Report: call name not underlined in HTML
Fixes #10816
2018-11-20 20:38:37 +00:00
prculley
79074587f3 Fix InteractiveSearch for find before model is populated
Fixes #10844
2018-11-20 18:18:12 +00:00
prculley
c660ed1728 Fix Gedcom export for incorrect escaping with @#DFRENCH R@
Fixes #10833
2018-11-20 18:17:05 +00:00
prculley
e926934a49 Fix reports for shared event attribute and note errors
Fixes #10720
2018-11-20 18:14:08 +00:00
prculley
b175b5cb60 Fix Fan and Descendant Fan charts in Quadrant and Half Circle modes
The Descendant Fan chart had several bugs:
1) a bug that affected the centering of the chart for these modes
2) the chart was drawn in the wrong quadrant
3) the centering of the chart for printing was incorrect
   (the legend was off the page some of the time).
4) the sizing of the chart for printing was incorrect
   (for very small charts of one generation, the legend would
    overwrite the chart).
The Fan Chart for the quadrant view:
1) the centering of the chart for printing was incorrect
   (the legend was off the page some of the time).

Fixes #10817
2018-11-20 17:57:59 +00:00
Robin van der Vliet
8fe9069cbb Fixed issues in the Dutch relationship calculator
Fixed some issues in the Dutch relationship calculator and also
extended the ordinal and removed lists till 50, just like the
English lists.

* Replaced huge lists by reusable lists.

* Fixed bug in which uncles/aunts, nephews/nieces (niblings),
  siblings and cousins with an unknown gender show up as female.

* Fixed some misspellings:
    drieëntwingste > drieëntwinTIgste
    vierentwingste > vierentwinTIgste
    edelovergrootOUD > edelovergroot
    edeloudvergroot > edeloudOvergroot
2018-11-20 17:32:24 +00:00
prculley
263a082afe Merge in changes from Gramps50 2018-10-29 09:32:35 -05:00
SNoiraud
f2bc982c3d NarrativeWeb fixes
Space between place, description and the event note when there are
many sources.
Change the css order between print and screen.
The chosen theme can erase prior values.
Add a width for the source column in all themes.

Fixes #10810
2018-10-21 18:43:11 +01:00
Richard Clay
dd9ddab849 In personsidebarfilter, search on each part of name
Instead of requiring that the entire search string matches a single one of the Person's names, the function will require that each word in the search string matches any of the Person's name fields.

Fixes #7950
2018-10-20 21:30:20 +01:00
Malte Renken
cfa278886b RelGraphReport: Add an option to omit "irrelevant" family nodes 2018-10-12 20:58:04 +01:00
MJBMZ
1c430a6b91 Replace rounded corners checkbox by dropdown
It now allows rounded corners to be set more explicitly for
different genders (None/Male/Female/Both).
2018-10-12 20:25:51 +01:00
jose1711
b0eb712933 Do not use hyphen for living persons in hourglass graph 2018-10-12 19:36:42 +01:00
Jgon6
51a7ad9483 Include death anniversaries as an option in the birthdays report
Added the optional ability to list the anniversry of peoples deaths in
the birthday and anniversary report

Resolves #3540
2018-10-12 19:19:59 +01:00
Jgon6
d6e9d62fad Add an option to show years in the birthday report
Added an option to the birthday report that allows for the year of birth
(or in the case of a wedding it's year) to be printed in the report.

Resolves #5948
2018-10-12 19:19:59 +01:00
Jgon6
3bac4a1036 Added symbols to the birthdays report showing the type of event
Issue #3540
2018-10-12 19:19:59 +01:00
Jgon6
1995a7068c Birthday report dead indicator now user defineable
Fixed the birthday report so the dead icon is able to be set within the
options window
2018-10-12 19:19:59 +01:00
Jgon6
5dc06d023d Indicate if a person is dead in the birthdays report
Added a text option to have a string that will show after a persons name
in the birthday and anniversary report. This works for both birthdays
and anniversaries.

Issue #3540
2018-10-12 19:19:43 +01:00
SNoiraud
d98a1857dc Make relationships optional in narrative web
Fixes #10454
2018-10-12 18:46:39 +01:00