Commit Graph

21262 Commits

Author SHA1 Message Date
Tim G L Lyons
94fe287886 Restructure SrcTemplate and introduce SrcTemplateList (work in progress)
svn: r22694
2013-07-17 18:26:35 +00:00
Tim G L Lyons
6cf005cb38 Source editor, wrap 'Reference Information' lines.
svn: r22692
2013-07-16 23:26:46 +00:00
Benny Malengier
38db8959fa GEP18: big database change for source and citation
svn: r22639
2013-07-01 19:27:48 +00:00
Benny Malengier
6c04f8b151 GEP18: add deprecated decorator to gramps, use in src and citation
Usage: python -W all Gramps.py


svn: r22622
2013-06-28 12:49:31 +00:00
Benny Malengier
85cc487ee9 GEP18: no longer show default cite fields on source level. Flag could be reactivated in the future
svn: r22621
2013-06-28 06:43:31 +00:00
Benny Malengier
38d7ee72f2 GEP18: csv loading based on English only
svn: r22620
2013-06-28 06:36:45 +00:00
Benny Malengier
9ce8403106 GEP 18: Improve error message
svn: r22619
2013-06-27 19:02:11 +00:00
Benny Malengier
ee3350e9d5 GEP 18: fix bug in List reference determination
svn: r22614
2013-06-25 23:05:49 +00:00
Benny Malengier
6cde88e22d GEP 18: fix index error
svn: r22613
2013-06-25 22:33:37 +00:00
Benny Malengier
e9efb9debc GEP 18: merge trunk into GEP branch
svn: r22612
2013-06-25 22:28:13 +00:00
Benny Malengier
0a2580e9c5 GEP 18: 1. Source templates as new plugin type
2. EE templates in their own plugin, loading from csv in data


svn: r22611
2013-06-25 22:26:56 +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
5b6da40866 GEP 18: merge latest trunk changes in branch
svn: r22605
2013-06-25 10:56:02 +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
Benny Malengier
0d3aec7313 GEP 18: merge trunk changes in gep branch
svn: r22603
2013-06-25 10:45:43 +00:00
Benny Malengier
a7e5ecbadf GEP 18: add date from cite in reference part of citation
svn: r22602
2013-06-25 09:20:16 +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
Benny Malengier
54ef9241a1 GEP 18: remove subgroup, replace by section
svn: r22575
2013-06-23 21:42:54 +00:00
Benny Malengier
1fd823bb71 GEP 18: Obtain repo data from attached repo, no user input field
svn: r22572
2013-06-23 14:38:36 +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
Benny Malengier
99671bdfaf GEP18: refractor: move template stuff to srctemplate.py
svn: r22554
2013-06-22 16:09:24 +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
Benny Malengier
8ad6600746 GEP 18: automatic update as you type for citation fields, fix in formatting, fix with indicators
svn: r22526
2013-06-19 21:14:18 +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
2b6ee1aa60 GEP18: add hint for indicators, add tooltips, again remove some fields
svn: r22519
2013-06-19 06:56:52 +00:00
Benny Malengier
8b37ca4119 GTK3: convert deprecated code for the indicator in entryfield
svn: r22518
2013-06-19 06:56:06 +00:00
Benny Malengier
3a42651fb1 GEP 18: still more aggressive reduction of attribute fields
svn: r22516
2013-06-18 14:10:18 +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
Benny Malengier
cc839bf167 GEP 18: introduce label in template, drastical reduction of number of source attributes
svn: r22514
2013-06-17 13:49:26 +00:00
Benny Malengier
f177537525 Merged trunk back into gep 18
svn: r22513
2013-06-17 11:14:05 +00:00
Benny Malengier
dce3fc0605 GEP 18: show citation template fields, source fields in scrolled window.
svn: r22512
2013-06-15 10:17:58 +00:00