1563 Commits

Author SHA1 Message Date
Nick Hall
db3d7a3d0d Fix import 2016-12-03 21:44:55 +00:00
romjerome
eb8c17cfa5 9812: 'Check and Repair' tool ignores some objects with tag support 2016-12-03 10:59:33 +01:00
Nick Hall
27c2b0c81d 9748: Use COLLATE clause rather than locale specific columns 2016-11-30 23:13:12 +00: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
Nick Hall
5826307b63 Remove trailing whitespace 2016-11-28 22:16:49 +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
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
79cb66b0f1 8555: Database repair tool always modify all source objects 2016-11-26 12:56:43 +01:00
Nick Hall
382987f366 Create module for database utilities 2016-11-24 17:57:18 +00:00
Nick Hall
635db88800 9534: Exclude places outside valid date ranges 2016-11-22 18:25:20 +00:00
SNoiraud
8eedb37772 Geography: Add kmls for the geography places view. 2016-11-15 13:09:12 +01: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
f38ce3f3f6 Merge pull request #264 from prculley/bug9765
bug 9765; fix citation tree view for HandleError exceptions
2016-11-12 10:13:26 +11:00
prculley
00aa25258e bug 9771; Remove icons from various right-click and other menus 2016-11-08 09:43:36 -06:00
Sam Manzi
7ceb8ab57a Merge pull request #262 from prculley/bug8887
Bug 8887 Add PEDI and _FREL/_MREL Gedcom Tag Export support
2016-11-05 14:11:58 +11:00
Sam Manzi
f69883a586 Merge pull request #259 from prculley/bug9522
bug 9522; fix fault when viewing family events with event gramplet
2016-11-05 14:03:41 +11:00
Paul Franklin
105f9fb227 enable relationship calculator tool to remember its size 2016-11-03 05:31:50 -07:00
prculley
00b2bff6d0 bug 9765; fix citation tree view for HandleError exceptions 2016-10-30 13:50:52 -05:00
prculley
9ed969eea1 Fix Mock localtime to return same val in Linux & Windows 2016-10-29 16:59:42 -05:00
prculley
0fb91b860f Improve test coverage in the Gedcom importer 2016-10-29 16:59:42 -05:00
prculley
d21ead1c8d Bug 8887 Add PEDI and _FREL/_MREL Gedcom Tag Export support 2016-10-29 16:50:22 -05:00
Nick Hall
19201eed67 Improve efficiency of get_tag_from_name method 2016-10-29 22:18:07 +01:00
Nick Hall
ab4e147021 Add more database unit tests 2016-10-29 22:12:28 +01:00
Nick Hall
5bbce108fd Tidy up some SQL 2016-10-28 23:31:18 +01:00
Nick Hall
ad49598b51 9744: Tidy up _get_raw_*_from_id_data methods 2016-10-28 22:47:10 +01:00
Nick Hall
9fc316abdf 9744: Tidy up iterators
Remove order_by parameter.
Add unit tests.
2016-10-28 21:43:00 +01:00
Nick Hall
89cba484c0 9744: Tidy up commit_* methods 2016-10-28 17:07:27 +01:00
MJBMZ
d333f2eee7 9082: Show more place types in family lines graph 2016-10-27 17:36:09 +01:00
MJBMZ
aab0984dfb Fix indent 2016-10-27 17:26:55 +01:00
Sam Manzi
63b15de40a Merge pull request #252 from prculley/bug9755
bug 9755, fix duplicated Gramps IDs on Gedcom import
2016-10-27 19:30:21 +11:00
Sam Manzi
e6088271bd Merge pull request #251 from prculley/dupid
Update Tool 'Check & Repair' and 'TestCaseGenerator' to detect and repair duplicate Gramps IDs
2016-10-27 19:20:58 +11:00
Nick Hall
ddce9b0138 Add more database unit tests 2016-10-25 23:01:34 +01:00
Nick Hall
73d87e59e3 Remove build_surname_list and save_surname_list from public API 2016-10-25 22:18:48 +01:00
Nick Hall
f036206961 9742: Rewrite cursors to avoid using table maps 2016-10-25 21:29:59 +01:00
prculley
2bbc8702a7 bug 9522; fix fault when viewing family events with event gramplet 2016-10-25 10:39:51 -05:00
Nick Hall
5fcb3ef815 Add some database unit tests 2016-10-23 19:40:14 +01:00
Paul Culley
5e0198542f Merge pull request #249 from prculley/bug9694
bug 9694, fix Gedcom import with no VERSion (very old Gedcom) crash
2016-10-23 10:14:57 -05:00
Paul Culley
00dd91340b Merge pull request #248 from prculley/bug8993
bug 8993; fix Gedcom import in some alternate languages; improper date parsing
2016-10-23 10:14:03 -05:00
Paul Culley
6923c53871 Merge pull request #247 from prculley/vcard
bug 9458, fix Import Vcard can create multiple surnames with all selected as 'Primary'
2016-10-23 10:12:53 -05:00
romjerome
1fd76160ef Fix format string (order, RTL, LTR)
9759: update template
2016-10-23 15:48:56 +02:00
Nick Hall
ce59a8a5c9 9744: Tidy up get_number_of_* methods 2016-10-19 22:18:25 +01:00
SNoiraud
900624193f 9757: [Geography] update map tiles on demand 2016-10-19 18:51:27 +02:00
prculley
8a385af882 bug 9755, fix duplicated Gramps IDs on Gedcom import 2016-10-19 10:09:30 -05:00
Nick Hall
be3541756f Modify to avoid using id maps 2016-10-18 22:51:16 +01:00
Nick Hall
662c5c8866 Modify to avoid using table maps 2016-10-17 23:25:33 +01:00