Commit Graph

25345 Commits

Author SHA1 Message Date
SNoiraud 1a4d43dbbf 10088: Geography: try to link a map position if we have an active place. 2017-06-16 14:54:04 +02:00
Doug Blank 676825cf52 Removes try/except and recursion in ancestor filters +/- N gens
This fix rewrites the Ancestor-of +/- N filters to remove the try/except
and removes the recursion. The recursion would only be a problem
on very deep trees, but the try/except was hiding a variety of
problems. Most directly, if a person did not have a main family
then it would exit out of the loop.

(I don't have a test database to break the code other than my
real data, so you'll have to do that part.)

I also made sure that the meaning of N is consistent in
both filters:

1 - root person
2 - root person's parents
3 - root person's grandparents
2017-06-16 00:55:31 +01:00
prculley 5f93da1343 HandleError on Relationship view for add child with no father
Fixes #10059.
2017-06-15 21:50:24 +01:00
prculley eedbe0db67 Fix HandleError in Citation gramplet
Fixes #10054.
2017-06-15 17:29:28 +01:00
Zdeněk Hataš 5b0fbf209e removed legacy code from _date_cs.py
fixed inflections in cs.po
2017-06-15 12:57:03 +02:00
prculley 22fb1ab254 relationship calculator fails (missing uistate param)
Fixes 10052
2017-06-14 02:25:28 +02:00
bpisoj d6b26eff26 add build version to const.py 2017-06-10 21:33:23 +02:00
bpisoj ecf02a023a remove build version from const.py v5.0.0-alpha2 2017-06-10 20:52:56 +02:00
John Ralls 25dafee197 Fix GtkosxApplication load failure.
Viewmanager somehow lost its import of gi.
2017-06-08 10:19:17 -07:00
prculley 8c1ccabe31 Update Readme to provide some package dependency names 2017-06-08 08:22:58 -05:00
Paul Franklin 33635db955 update MANIFEST.in with both ChangeLog files 2017-06-06 11:46:09 -07:00
Paul Franklin ee67f4496d update ChangeLog files 2017-06-06 11:43:27 -07:00
Paul Franklin a97c20f4b5 make official 5.0.0-alpha2 release 2017-06-06 08:41:35 -07:00
Paul Franklin 04b8be8710 update NEWS for 5.0.0-alpha2 release 2017-06-06 08:31:33 -07:00
Zdeněk Hataš d68bbf3383 czech translation update 2017-06-05 11:52:03 +02:00
John Ralls 6cbc465e60 Update gramps.modules for Python3.6. 2017-06-04 16:50:08 -07:00
John Ralls 657aca35ac Update versions for gramps v5.0.0-alpha2. 2017-06-04 16:50:08 -07:00
Nick Hall c727d56ed0 Add unit tests for empty dates 2017-06-04 23:15:36 +01:00
prculley b18676aaf4 Text-only dates are sometimes not exported in XML
Fixes #10062.
2017-06-04 23:14:55 +01:00
Josip bf634ee8e8 EOFError [Ran out of input] in Clipboard (#411)
[EOFError: Ran out of input] for Clipboard when you drag and
drop the bolded lines in selected tabs of Person Edit

Attempt to drag and drop any of the "bolded lines" in the Events or
Names tabs into the clipboard window. The unbolded lines drag and drop
ok.

Fixes #8788.
2017-06-04 19:08:27 +01:00
Matti Niemelä e01a8602b6 update Finnish translation 2017-06-04 10:22:21 -07:00
vantu5z ac8f5a059a update Russian translation 2017-06-04 11:11:28 +03:00
Paul Franklin e40f5d9faa correct the "Language" field in some translations 2017-06-03 15:17:46 -07:00
Josip 6a4bd7dceb Crash after dragging multiple items from clipboard to gallery
I copied 7 items from the Media List to the clipboard. I then opened a
Person, and dragged one Media Item to the Gallery. I then clicked and
dragged to highlight the remaining 6 items at once. On dragging them to
the gallery, it crashed.

2989475: ERROR: grampsapp.py: line 145: Unhandled exception
Traceback (most recent call last):
File "C:\Program
Files\GrampsAIO64-4.2.5\gramps\gui\editors\displaytabs\gallerytab.py",
line 475, in drag_data_received
(mytype, selfid, obj, row_from) = pickle.loads(sel_data.get_data())
ValueError: too many values to unpack (expected 4)

Fixes #9984.
2017-06-03 22:17:45 +01:00
Josip 118e6c89e9 Cannot drag & drop textual value via clipboard
Allows dnd of textual values from clipboard and shows icon of
target-type during dragging instead of row image, except for text target
shows actual text as drag icon.

Fixes #7532.
2017-06-03 22:13:52 +01:00
Josip bc17245331 Quick search with Czech characters -> Crash
Crash happen when checking for "event.string" in "treeview_keypress"
function in "gramps/gui/widgets/interactivesearchbox.py"
Note that

https://lazka.github.io/pgi-docs/Gdk-3.0/classes/EventKey.html#Gdk.EventKey
says it is deprecated and should never be used.

Gdk.keyval_to_unicode return the corresponding unicode character, or 0
if there is no corresponding character.

Fixes #9130.
2017-06-03 22:05:34 +01:00
Paul Franklin ea5b54598e new gramps.pot translation template for gramps50 2017-06-03 13:47:03 -07:00
Paul Franklin f276507fb8 remove accelarators/mnemonics from non-top-level menu items
https://github.com/gramps-project/gramps/commit/59cced2bc622201a577d8dfba373b3a7fcf3daf5#commitcomment-22310331
2017-06-03 13:43:45 -07:00
Nick Hall 736f10875f Comment out beta warning rather than change config setting 2017-06-02 23:50:44 +01:00
SNoiraud 7230e8618e 10049: Narrated Web Report options reorganization 2017-06-02 13:27:53 +02:00
John Ralls b4fed8101a 8366: February 29th invalid date in Julian dual-dated leap year 2017-05-31 12:06:53 -07:00
Nick Hall ed8807f73a Fix get_gramps_ids method to return a list of str 2017-05-31 17:03:20 +01:00
Nick Hall 512fa615bf Fix DummyDb errors after a cancelled database upgrade 2017-05-30 23:27:08 +01:00
Nick Hall 16cd995558 Database upgrade to convert default handle to str 2017-05-30 19:23:48 +01:00
vantu5z 5939e722e4 update Russian translation
(fixes for [add->new] menu translations)
2017-05-30 11:06:42 +03:00
Nick Hall 352d6fc558 Convert handle type to str in the database API (#405)
The mixed type of handles has been a constant source of bugs.
Converting them all to str in the database API should make
maintenance easier. The key to BSDDB tables must still be bytes
in the database layer.
2017-05-30 00:19:42 +01:00
prculley 83d24ed681 8366: February 29th invalid date in Julian dual-dated leap year 2017-05-29 10:57:47 -07:00
Leonhaeuser d14383cb3a Update German translation 2017-05-29 19:18:56 +02:00
vantu5z f1659d556e update Russian translation 2017-05-29 09:46:32 +03:00
Nick Hall 22e7243660 9229: Use the term "Delete" instead of "Remove"
The term "Delete" should be used when an object is deleted from
the database.  The term "Remove" should be used when an object is
removed from a list, but not actually deleted.
2017-05-28 17:54:46 +01:00
Leonhaeuser 2d1d0342c9 Update German translation 2017-05-25 21:59:41 +02:00
Nick Hall fd1418dc8a Disable development warning message 2017-05-24 00:18:31 +01:00
Paul Franklin b38f68496f restore missing (since January) "import statistics" dialog 2017-05-22 12:42:23 -07:00
Paul Franklin f035196b6c Revert "restore missing (since January) "import statistics" dialog"
This reverts commit c3fb9c0c4e.
2017-05-22 11:21:57 -07:00
Paul Franklin c3fb9c0c4e restore missing (since January) "import statistics" dialog 2017-05-22 06:17:26 -07:00
Zdeněk Hataš ca7f65865e czech translation update 2017-05-22 11:41:30 +02:00
Paul Franklin 9485e061b1 merge translation with current template 2017-05-20 13:47:12 -07:00
Paul Franklin d6a97cf90e 10033: Note isn't included on CIR when it is attached to a name 2017-05-19 06:50:22 -07:00
vantu5z 4791550f6b update Russian translation 2017-05-16 14:22:36 -03:00
Sam Manzi 59cced2bc6 Feature:New global [Add]>[New] menu with Keybindings (#281)
Usability improvement, allows using the Menu [Add]>[New] or global keyboard shortcut(keybinding) to add [New] entries

Supports:

Adding [New] records for:

* Person

* Family

* Event (default=Custom/Unknown)(Leave blank for unknown / enter letters for custom)

* Place

* Source

* Citation

* Repository

* Media

* Note
2017-05-16 10:43:14 +10:00