Commit Graph

24721 Commits

Author SHA1 Message Date
Sam Manzi
0a11cbf8b5
Renable user_test on travis after 2365a72d98 fix 2016-12-01 08:51:01 +11:00
Nick Hall
a4a3c55c09 Update comments 2016-11-30 15:57:23 +00:00
Nick Hall
2365a72d98 Fix User class unit tests 2016-11-30 15:51:03 +00:00
vantu5z
cf58de59c1 update Russian translation 2016-11-30 13:32:00 +03:00
Nick Hall
1039156019 9508: Fix place tree cursor 2016-11-29 23:26:50 +00:00
Nick Hall
11942d8975 Add database unit tests for sorted handles 2016-11-29 22:30:11 +00:00
Nick Hall
98950a89a3 Create new module for DbBookmarks 2016-11-29 19:34:57 +00:00
Nick Hall
3bf40f9921 Remove trailing semi-colon from SQL statements 2016-11-29 16:41:47 +00:00
Nick Hall
634691516c Arrange database methods into a more logical order 2016-11-29 16:21:21 +00:00
romjerome
de177975a0 9815: Fix clear map action on Geography 2016-11-29 10:32:17 +01:00
Paul Franklin
e3d732a31e 9789: Book Report only works with the default values (master "4ffc5e3") 2016-11-28 15:24:21 -08:00
Nick Hall
13acd73c9e Remove unused database method 2016-11-28 22:58:41 +00:00
Nick Hall
5826307b63 Remove trailing whitespace 2016-11-28 22:16:49 +00:00
Nick Hall
ee4e652cac 9742: Remove table map classes
The Table, Map, MetaCursor and DbGenericTxn classes are no
longer used.
2016-11-28 21:45:27 +00:00
Nick Hall
baff7cddb0 9810: Fix undo/redo reference updates
Also rewrite to avoid using table maps.
2016-11-28 21:18:11 +00:00
Paul Franklin
e1dca2bfaa 9789: Book Report only works with the default values (master "4ffc5e3") 2016-11-26 15:23:01 -08:00
Bastien Jacquet
fec5d532d1 Feature: Gep-030 FanChart2Way
...New FanChart consisting of both ascendants and descendants.

It can be checked-out there :
https://sourceforge.net/u/bubblegum00/gramps/ci/geps/gep-030-FanChart2Way/~/tree/

<snip>

I find it quite handy, so please let me know if you have any comments or suggestions.

NB: I heavily cleaned up the FanChart code on my way.

Regards,

Bastien Jacquet

https://sourceforge.net/p/gramps/mailman/message/32908110/
........................................................
Refactor fanchart for further modification

Fix radial text pos_start radian alignment

Simplify father's and mother's details getter

Rename draw_gradient to draw_gradient_legend

refactor prepare_background_box

Add option not to flip names

Add a display_format(self, person, num) function as proposed by Benny Malengier on 2012-12-13
It just returns name_display.name_formats[num][_F_FN](person.get_primary_name())

Add option to show the name on two lines

Allow for variable radius depending on generation

Switch to WORD_CHAR wrapping of name (ie word, and char if 0-length word)

Move rescaling tentative inside wrap_truncate_layout

Fix person_under_cursor bugs

Refactor root angle computation

Refactor code positionning the fan

Refactor personpos_at_angle

move implementation of person_under_cursor outside of FanChartBaseWidget class

Change draw_person to take angles in radians

Use same structure for innerring as for outerring

Uses cursor_to_polar and cursor_on_tranlation_dot

Slightly change person_under_cursor logic to return an "address" in the fan

Uses radian_in_bounds to compare angles modulo 2 PI

Fixup test on cursor over inner ring

Fix Center size for FanchartDesc

Fixup fanchart check up to last generation

Give same signature to draw_person

Refactor the common code of self.draw_person in a single function in Base class

Fix center box comment

Refactoring inside celladdress

Remove manual central box drawing since done with draw_person

Fixup draw_person color for duplicates

Use draw_person for central person too

Make __compute_angle and __rec_fill_data public for use in FanChart2Way

Add 2Way View

Rewrite create_map_rect_to_sector to allow bottom-outside-oriented text-arc

Allow to automatically right upside-up bottom arc-text

Correct icons for Fanchart2Way

Small code refactoring

Refactor code of fanchartdesc to use self.rootangle_rad

Rename change_slice to toggle_cell_state

Fanchart2Way code formating and changes

Small refactoring of fanchartdesc innerring fill data

Remove the name from the local temporary data structure

Remove the name from the local temporary data structure (in Fanchart2Way)

Change background gradient to follow the user-selected gradient colors

rename parentsroot to innerring

Some renaming for clearer code

Show last generation of partners in descendant fanchart

Show last partner in Fanchart2Way

Fanchart2Way : Add option to disable gradient on the background

Fixup flipupsidedownname parameter for gramplet usage of fancharts

Fixup twolinename parameter for gramplet usage of fancharts

Add FanChart2Way in available gramplets

Tentative fix for last view on Fanchart2Way

Show step-sibling in Fancharts context-menu

Fix overestimation of descendant halfdist

(SM) Trailing White spaces removed

(SM) Fix config box Table Grid

(SM) Move Icons gramps-fanchart2way to new location

(SM) Add Copyright for Bastien Jacquet

(SM) Fix BSDDB AttributeError NoneType object has no attr

(SM) Update patch to account for bug 9771; fix missing right-click menu items

(Nick Hall/eno93) Fix set_text method takes the length of the utf-8, not the length of the unicode as the second parameter ((Gramps.py:3697): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text())
2016-11-26 18:00:08 +00:00
romjerome
3d854ba944 9801: recommend 'gir1.2-goocanvas-2.0' on debian package 2016-11-26 13:00:21 +01:00
romjerome
79cb66b0f1 8555: Database repair tool always modify all source objects 2016-11-26 12:56:43 +01:00
Tom Hughes
da018c1842 Re-enable selection in MultiTreeView on a drag-end event
In 201f4a5e51 we made grab_broken
re-enable selection because GTK 3.18 and later no longer send a
fake button release event.

The sending of grab broken is an implementation detail of DnD
on X based systems however, and at least some GTK backends do
not generate this, wayland being one example.

So we now use drag-end instead which is always sent to the source
when a DnD operation completes.
2016-11-25 16:45:43 +00:00
Sam Manzi
d8077a8169 Merge pull request #274 from SNoiraud/9378
9378: Quick Backup: remember Media (include/exclude) setting
2016-11-25 17:31:09 +11:00
Nick Hall
74b87e04eb Restore import_from_filename function 2016-11-24 19:45:19 +00:00
Nick Hall
cb738e88ad Remove unused function 2016-11-24 18:40:28 +00:00
Nick Hall
382987f366 Create module for database utilities 2016-11-24 17:57:18 +00:00
Matti Niemelä
5358e8dd93 Update finnish translation 2016-11-24 08:24:15 +01:00
romjerome
18b00846fe typo on french translation 2016-11-24 08:16:37 +01:00
Nick Hall
635db88800 9534: Exclude places outside valid date ranges 2016-11-22 18:25:20 +00:00
Paul Franklin
0f9c3012be enable book selector dialog to remember its size 2016-11-21 13:11:26 -08:00
Paul Franklin
5932addfb5 9789: Book Report only works with the default values (master "4ffc5e3") 2016-11-21 13:09:57 -08:00
Zdeněk Hataš
882c37afc1 czech translation update 2016-11-21 12:17:15 +01:00
Josip
a3960c8515 Merge pull request #272 from prculley/bug9787
bug 9787; fix right-click menus crash caused by PR268
2016-11-20 22:52:48 +01:00
romjerome
4f30f09fab Update french translation 2016-11-17 10:11:47 +01:00
Lajos Nemeséri
43106eb47f Update Hungarian translation 2016-11-17 10:06:35 +01:00
romjerome
4653b35cb3 Update template 2016-11-17 10:04:18 +01:00
SNoiraud
6675cce1f2 9378: Quick Backup: remember Media (include/exclude) setting 2016-11-16 12:32:01 +01:00
vantu5z
4a49287292 update russian translation 2016-11-16 11:55:32 +03:00
romjerome
e0cb56ee93 Merge pull request #273 from prculley/galxlt
Fix translation confusion on 'View' noun/verb
2016-11-16 08:53:07 +01:00
romjerome
0743c19449 Merge pull request #271 from paulohpmoraes/master
Update and corrections to brazilian portuguese translation.
2016-11-16 08:52:32 +01:00
prculley
5ff0b3f977 Fix translation confusion on 'View' noun/verb 2016-11-15 09:38:39 -06:00
SNoiraud
8eedb37772 Geography: Add kmls for the geography places view. 2016-11-15 13:09:12 +01:00
prculley
15ca5e6d4c remove excess space in front of right-click menus in embedded lists 2016-11-14 09:12:11 -06:00
prculley
bd142c0744 bug 9787; fix right-click menus crash caused by PR268 2016-11-14 08:46:38 -06:00
Paulo Henrique Moraes
b99c9f41cc Update and corrections. 2016-11-14 08:54:04 -02:00
Josip
4ffc5e3af4 add plugins/db/dbapi/settings.ini to setup 2016-11-12 15:01:15 +01:00
Josip
bb919efec7 Support for Windows Python3 pythonw.exe 2016-11-12 14:05:49 +01:00
Sam Manzi
905717f4f1 Merge pull request #269 from prculley/nameedit
fix name_displayer.add_name_format so it won't create duplicates
2016-11-12 12:57:27 +11:00
Sam Manzi
f4bc6c3384 Merge pull request #268 from prculley/bug9771
bug 9771; fix missing right-click menu items on gallerytab
2016-11-12 12:18:17 +11:00
Sam Manzi
67dfc55a0b Merge pull request #266 from prculley/docstr
update db/base.py with better docstring, new methods etc.
2016-11-12 11:43:22 +11:00
prculley
def6b3fd07 #---- lines back to normal 2016-11-11 18:19:08 -06:00
prculley
d4cb0c3d7c pylint cleanup 2016-11-11 18:19:08 -06:00