Commit Graph

21216 Commits

Author SHA1 Message Date
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
Jérôme Rapinat
87499c96bc Add Ukrainian relationship calculator (contributions by Fedir); not yet included on 4.0.x branch
svn: r22530
2013-06-20 07:30:05 +00:00
Jérôme Rapinat
dc690b7071 Add Ukrainian holidays (contributions by Fedir)
svn: r22529
2013-06-20 07:21:40 +00:00
Vassilii Khachaturov
8ca5d92883 Copied my 6812 fix port for gtk3
Integrated from gramps40 branch

svn: r22525
2013-06-19 20:29:57 +00:00
Vassilii Khachaturov
a971eb7d66 RU translation update
fix a missing newline

svn: r22520
2013-06-19 16:07:16 +00:00
Benny Malengier
8b37ca4119 GTK3: convert deprecated code for the indicator in entryfield
svn: r22518
2013-06-19 06:56:06 +00:00
Vassilii Khachaturov
5c0b6dd023 RU translation update
Translated more strings.
 filters
 graph layout
 some other utils
 load errors
 configuration gui

svn: r22515
2013-06-18 13:30:44 +00:00
Fedik
dc853e2ee6 uk translation uptade
svn: r22508
2013-06-14 14:30:20 +00:00
Paul Franklin
5c71b46283 6797: Alternate Names in Person Details Gramplet (patch by Heinz Brinker)
svn: r22505
2013-06-13 21:35:05 +00:00
Tim G L Lyons
3208db231d 0000860: GEDCOM: Space in gramps id fails to properly export/import
svn: r22501
2013-06-13 18:06:52 +00:00
Fedik
a3c422b592 uk translation uptade
svn: r22498
2013-06-12 16:59:53 +00:00
Vassilii Khachaturov
33343437a5 RU translation update
Translated:
  cli/: argparser.py clidbman.py

svn: r22494
2013-06-11 22:28:59 +00:00
Vassilii Khachaturov
e2f87c965b RU translation update
All fuzzies reviewed.
check_po lint errors fixed.

svn: r22492
2013-06-11 13:18:10 +00:00
Serge Noiraud
f80bf8eb15 Geography : Gtk.Menu didn't work with gtk3.
svn: r22488
2013-06-10 20:45:40 +00:00
Vassilii Khachaturov
34b13775b7 RU translation update
Fix minor translation mistakes found by the check_po lint output.

svn: r22485
2013-06-10 15:01:42 +00:00
Paul Franklin
ac730cf013 correct the filename in the "Id" line
svn: r22480
2013-06-04 21:25:36 +00:00
Paul Franklin
860360af2f add some more names to data.gramps (more modern: divorces, etc.)
svn: r22476
2013-06-03 20:18:12 +00:00
Benny Malengier
da93d7134b There is no sourceref anymore, only citation
svn: r22468
2013-06-01 13:49:40 +00:00
Benny Malengier
d6c216bbd0 GEP 18: update fields in srcattrtype to what will be used in GEP18, so as to avoid translators seeing
non used fields (but best not to translate yet, this is trunk!)


svn: r22467
2013-06-01 09:53:17 +00:00
Zdenek Hatas
9543f44080 minor fixes
svn: r22461
2013-05-31 12:46:08 +00:00
Zdenek Hatas
28d20c52f8 czech translation update
svn: r22459
2013-05-31 08:58:15 +00:00
Benny Malengier
cfebdf3429 copyright on evidence style, see private mail of John H. Yates to bmcage
svn: r22449
2013-05-29 07:47:32 +00:00
Paul Franklin
8755619584 6058: Ambiguous pdf output file format values [fix by Peter]
(this was already fixed in gramps34 20445)


svn: r22448
2013-05-28 20:52:59 +00:00
Benny Malengier
62da0fbaa9 GTK3: menu needs to survive function scope
svn: r22445
2013-05-28 15:31:49 +00:00
Vassilii Khachaturov
aa71eb19a6 RU - translation update.
Import stats dialog - proper inflection.
More translation strings for the main menu.
A lot of fuzzies reviewed.
Some minor mistakes shown during GUI testing fixed.

svn: r22444
2013-05-28 10:37:35 +00:00
Benny Malengier
cc8b166138 Fix error in template map, key should be the types, not strings
svn: r22443
2013-05-28 10:17:31 +00:00
Benny Malengier
9b1af034fc Use term source template, not source type
svn: r22442
2013-05-28 10:14:16 +00:00