Commit Graph

22092 Commits

Author SHA1 Message Date
Vassilii Khachaturov
e0dfb47b30 6915: not related tool treats siblings as not rel.
Applied patch from ennoborg, thanks!

svn: r22690
2013-07-16 17:18:06 +00:00
Vassilii Khachaturov
8b3a4058dd 6923: runtest.sh broken in gramps40/trunk
Fixed the file locations to work for the gramps40/trunk layout.

Also porting my fix from gramps34 branch for
6837: runtest.sh runs some reports that no longer exist

svn: r22684
2013-07-16 11:10:34 +00:00
Vassilii Khachaturov
6fdae2e29c 6867: warn on gtk translation missing
Give a dev-oriented warning on console and pop up a UI
warning dialog for the user, when an inconsistent
translation configuration is detected between gramps and gtk
(happens when a langpack is missing on Ubuntu systems, e.g.)

svn: r22683
2013-07-16 11:10:24 +00:00
Paul Franklin
0617629e9d 6922: Export gpkg crashes in svn 22654M
svn: r22682
2013-07-15 18:38:11 +00:00
Serge Noiraud
c635e94f5d Bug #6917 : Gtk2 to Gtk3 port of colorsel to get_color_selection()
svn: r22680
2013-07-14 12:28:13 +00:00
Paul Franklin
e6c91354a5 revert the Finnish date-format change (remove the four I added)
svn: r22678
2013-07-13 20:56:38 +00:00
Paul Franklin
b2e5148b18 correct the Finnish date-format choices (add the other four)
svn: r22675
2013-07-13 20:02:49 +00:00
Paul Franklin
e4cbeaef19 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: r22672
2013-07-13 18:01:08 +00:00
Serge Noiraud
c7ad6127da Geography : print page size selection before opening printing dialog.
svn: r22669
2013-07-12 11:38:26 +00:00
Paul Franklin
59d225108c standardize date handler's internal argument names, for easier comparisons
svn: r22667
2013-07-09 01:31:56 +00:00
Paul Franklin
9058a04bc1 ignore bad Record Gramplet/Report data (the data-verification tool catches them)
svn: r22664
2013-07-08 21:52:56 +00:00
Craig J. Anderson
bcc17b3700 Updated code to:
. http://www.gramps-project.org/bugs/view.php?id=3430
. . added a $G[vtdelcspnom] to display
. . . researcher information
. . . gramps version and database name
. be more vim compliant and a little more PEP compliant



svn: r22661
2013-07-08 20:28:36 +00:00
Peter Landgren
afc8a28d6e Update after some user input.
svn: r22658
2013-07-08 11:26:54 +00:00
Paul Franklin
75efe4f5d7 Span maximums and minimums must always be positive numbers
svn: r22657
2013-07-08 01:44:32 +00:00
Serge Noiraud
700cddf453 Geography : omit to add the new file for printing : cairoprint.
svn: r22653
2013-07-05 18:02:13 +00:00
Serge Noiraud
b2c233dc94 Geography : add printing functionality for all geography views.
svn: r22652
2013-07-05 17:51:38 +00:00
Doug Blank
356351f40c Added missing SrcAttributeType
svn: r22650
2013-07-05 16:51:33 +00:00
Doug Blank
75eef28af7 6774: Recursive call in GEDCOM export preview calculation
svn: r22649
2013-07-05 15:03:40 +00:00
Doug Blank
a7e76d9a30 Undo changes for 6878
svn: r22647
2013-07-03 20:23:21 +00:00
Doug Blank
9442a5afe8 6081: Crash after double-click on .gpkg file
svn: r22643
2013-07-03 12:54:19 +00:00
Doug Blank
6b8eff0908 6878: Running CLI options when DISPLAY not set barfs
svn: r22642
2013-07-03 01:20:03 +00:00
Paul Franklin
fc6725852a 6818: Enable Relationships support on RelationshipGraph (GraphViz)
svn: r22638
2013-07-01 16:59:55 +00:00
Benny Malengier
1f88a54415 GTK3 wants to deprecate unicode menu
svn: r22634
2013-07-01 08:42:06 +00:00
Paul Franklin
4d0f6160d5 make sure relationship calculator's relationships are in the UI language
svn: r22633
2013-06-30 17:52:12 +00:00
Benny Malengier
2c879c794c 6807: validatedmaskedentry: no attribute '_block_changed'
svn: r22630
2013-06-30 15:52:04 +00:00
Benny Malengier
36deb5ef40 GTK3: make sure menu shows up
svn: r22628
2013-06-30 13:38:38 +00:00
Benny Malengier
5066561558 GTK 3.9 removes unicode-menu
svn: r22627
2013-06-30 07:56:56 +00:00
Paul Franklin
094dec06e0 enable suppression of two minor missing-package warnings
svn: r22624
2013-06-28 17:53:39 +00:00
Nick Hall
766320ae8b 6841: Fix RTL text style bug
svn: r22618
2013-06-27 13:08:25 +00:00
Benny Malengier
4664f77608 squash 40 commits:
1. 6848: citationtreeview corrupts when search bar open and edit occurs
2. avoid critical gdk error by processing events only when window visible :
     Gdk-CRITICAL **: gdk_error_trap_pop_internal: assertion `trap != NULL' failed
3. In case of errors with fg_color, enormous amount of error messages. This patch
   grabs wrong fg_color, and skips action, avoiding the error messages. Error goes to debug.


svn: r22610
2013-06-25 22:15:08 +00:00
Benny Malengier
e9629f77e0 Bring srcattrtype in line with GEP 18:
1. less types
  2. no template data
  3. an ignore list


svn: r22604
2013-06-25 10:55:12 +00:00
Paul Franklin
6e22f80784 added GPL "boilerplate", SVN properties, and SVN Id line as needed
svn: r22598
2013-06-24 19:31:17 +00:00
Vassilii Khachaturov
242fd1372d 6838: report cli crash ignoring unknown param
merge from gramps40 branch

svn: r22596
2013-06-24 18:17:15 +00:00
Jérôme Rapinat
6d9fbe0238 update Ukrainian relationship calculator (by Fedir)
svn: r22582
2013-06-24 06:41:23 +00:00
Paul Franklin
39395150f7 make sure relationship calculator tool's relationships are in the UI language
svn: r22581
2013-06-24 01:59:25 +00:00
John Ralls
1158e77e13 Correctly set images/webstuff path in htmldoc.py and setup.py
svn: r22578
2013-06-23 23:24:02 +00:00
John Ralls
3fd0762ae0 Move the HTML resources from gramps/plugins/webstuff to data and images
So that they're together with the other resources instead of in 
site-package/gramps. Aside from a better source and installation 
layout, this makes it easier to bundle them.



svn: r22576
2013-06-23 22:47:25 +00:00
Vassilii Khachaturov
b8a18b02b5 6740: root cursor corruption
Use get_window() not get_root_window() to set the cursor.

svn: r22571
2013-06-23 14:16:22 +00:00
Vassilii Khachaturov
8af57bcf07 4571: RTL support in fanchart: cleanup older code
Use math.degrees() / math.radians() where able

Follow-up to CR by Benny:
    Removed redundant forced conversion to float, the
    	from future import division
    handles that already. See PEP-238 for details.

draw_text:
Remove manual layout wrapping, use pango Layout logic.
Refactored wrap_truncate_layout from draw_arc_text,
and it's now reused in draw_text, here with CHAR
wrapping mode as opposed to WORD in draw_arc_text.
This replaces the (Unicode-wrong) implementation of
manual char-by-char code with text truncation.

svn: r22569
2013-06-23 11:12:13 +00:00
Jérôme Rapinat
32172f1168 do not limit family's actors to mother and father, no relation between age of the person and child
svn: r22567
2013-06-23 09:18:57 +00:00
Jérôme Rapinat
a4558b3ccc enable Ukrainian date handler (by Fedir)
svn: r22566
2013-06-23 09:16:54 +00:00
Jérôme Rapinat
8bbbae41aa support Arabic on installation and lang_map (reports)
svn: r22565
2013-06-23 09:15:33 +00:00
Nick Hall
d30ade0488 6814: Fix gramplet positioning when using RTL locale
svn: r22557
2013-06-22 21:01:04 +00:00
Vassilii Khachaturov
d03fc19188 Fix minor ugliness due to precision loss.
Change an integer division into a floating one,
now the rendered text looks better.

svn: r22553
2013-06-22 15:23:06 +00:00
Paul Franklin
1dc1f6c0c2 added SVN Id property, and SVN Id line if needed
svn: r22552
2013-06-21 20:28:39 +00:00
Vassilii Khachaturov
face94275c 4571: RTL support in fan chart
gramps/gui/utilscairo.py:
new file, currently holds just the warpPath() function,
taken from /usr/share/doc/python-cairo/examples/warpedtext.py,
with explanatory docs added.

gramps/gui/widgets/fanchart.py, class FanChartBaseWidget:
draw_text() method:
previous logic using cairo toy text API didn't support CTL text.
It has been removed, and replaced with a call to a new
method, draw_arc_text().

Flagged a subtle Unicode issue in the remaining old code,
for radial-oriented text, with a FIXME, I'll probably fix it
later as a separate issue.

create_map_rect_to_sector() static method:
create a transform to use with gui.utilscairo.warpPath(),
currently used in draw_arc_text().

Following Benny's code review I have annotated the algorithm
and made it hopefully clear, but I guess it could be reworked
into a better form if re-expressed with stacked transforms /
complex numbers / matrices for easier later maintenance.
Meanwhile I have used the same approach as the older code
in the file, good enough for a patch under this feature request.

The only issue remaining from the code review is whether
the create_map_rect_to_sector() function should be moved
to gui.utilscairo; see the bug thread.

svn: r22548
2013-06-21 14:13:40 +00:00
Tim G L Lyons
4ba97726a2 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: r22545
2013-06-20 16:43:43 +00:00
Paul Franklin
f3fc5c5257 6821: CLI asks forever when trying to overwrite while exporting
svn: r22542
2013-06-20 16:34:22 +00:00
Jérôme Rapinat
aa7516cbb4 6817: print should be now a function
svn: r22537
2013-06-20 14:27:33 +00:00
Jérôme Rapinat
fab092f6fd 6817: Enhancements for testing localized Relationship handlers (contribution by Fedir)
svn: r22535
2013-06-20 10:07:41 +00:00