Commit Graph

147 Commits

Author SHA1 Message Date
Doug Blank
163545089c If you try to lookup an object too early, you might find that the tbl is still a dict; this protects such early lookups from crashing
svn: r20813
2012-12-21 18:25:37 +00:00
Jérôme Rapinat
d0d2c59cd5 common date handler for Norwegian Bokmål and Norwegian Nynorsk
svn: r20800
2012-12-20 13:46:36 +00:00
Benny Malengier
d682510c42 6227: libhtml handles strings differently in python2.x and python3.x
svn: r20796
2012-12-19 09:42:52 +00:00
Tim G L Lyons
55d9ef2dbf 0006009: Media objects attached to Marriage events and Sources are not included in Narrative Web Site
* restructure the families index so families are indexed under both spouses, and the family name is normalised
* separate out Families section in individual and families pages so individual page links to the family page and family page links to both people
* normalise links to families so the link is only displayed if the family page is present, and the gid is included when appropriate
* remove highlighting of media subregions except in the media pages (it was confusing and not very well implemented)
* include people whose surname is absent in the individual, surname and families indexes
* html_escape names and surnames
* always display media thumbnails for first image in Gallery list (in some cases they were suppressed if they had been displayed at the top of the page)
* change partner and parent columns in families index to improve the layout of the HTML and put the comma between multiple partners in the right place
* use event description (where present) instead of just event type in back references
* fix bug in the way obj_dict and bkref_dict were initialised

svn: r20795
2012-12-18 22:55:56 +00:00
Benny Malengier
eb52e2f3de 6224: Can't select with ot without media when taking backup
svn: r20793
2012-12-18 16:22:26 +00:00
Benny Malengier
f39e82c9b3 6215: Descendant Fanchart error on duplicate children
svn: r20792
2012-12-18 15:01:50 +00:00
Benny Malengier
ef023ffdb3 6227: libhtml handles strings differently in python2.x and python3.x
svn: r20791
2012-12-18 14:05:46 +00:00
Benny Malengier
0e01b5919e 6231: WARNING: configmanager.py: line 309: WARNING: ignoring key with wrong type
'behavior.autoload'


svn: r20789
2012-12-18 11:50:02 +00:00
Benny Malengier
100eeec905 fix wrong print_exc usage, see bug 6223
svn: r20788
2012-12-18 11:17:47 +00:00
Benny Malengier
aa5e2f0847 python 3 support, keys should be list if we want to iterate and delete
svn: r20786
2012-12-18 10:49:09 +00:00
Doug Blank
f90198e0c2 Template for webapp admin HTML header
svn: r20785
2012-12-16 14:34:17 +00:00
Jérôme Rapinat
e5beb28b0c import Pango before Gtk, or some things start to go wrong in GTK3 (see gramps/gui/grampsgui.py)
svn: r20784
2012-12-15 09:59:49 +00:00
Jérôme Rapinat
3c285ad02e 5621: better named_arguments for Bidirectional Text support and when more than one argument into string
svn: r20783
2012-12-15 09:46:18 +00:00
Tim G L Lyons
dfcfacfaec A couple more work arounds for bug 6227
svn: r20776
2012-12-09 17:59:28 +00:00
Tim G L Lyons
de4953f090 Various fixes for python 3 and for typos.
* internal table changed to use zero for unknown birthdates
* codecs.EncodedFile removed as I couldn't get it to work
* work around for  self.database.iter under python 3 returns (binary) data rather than text
* work around for bug 6227
* various typos when latest gramps34 was merged in.

svn: r20775
2012-12-09 17:38:10 +00:00
Tim G L Lyons
d21eae52e1 patch to get reload to work in trunk
svn: r20774
2012-12-07 18:57:54 +00:00
Doug Blank
096694439e Added note reference controls (order, delete, edit ref); working on infrastructure to add notes to names, etc.
svn: r20773
2012-12-07 12:28:02 +00:00
Tim G L Lyons
8203d2f49f fixed problem that bibliography ignores media attached to citations, so if that is the only 'interesting' thing about the citation, the citation media is not output
svn: r20772
2012-12-05 22:56:53 +00:00
Tim G L Lyons
7802b0a43b * Removed a lot of redundant code and parameters (mainly connected with the old way of determining the objects to be included in the report).
* Moved routines for calculating objects to be output so they can be part of default list building classes.

* Replaced person link routine with one that takes into account whether there is a page for the person.

* Included repository reference media type and call number in the 'Repositories' section of the relevant source instead of the Repository page.

* Implemented a generalised back reference function to display the 'References' section of all pages. This recursively displays references till one is found for which a page exists.

* Removed list of people and families from heading of the event pages as these are now in the 'References' section.

* Fixed bug "0005968: Narrated Web Site not copying Source Citations files such as jpg or pdf docs to web site" and "0005946 GRAMPS failed to insert jpeg image into proper place for an event" by displaying a thumbnail for citation media in the 'Source References' section (with a link to the media page)

svn: r20769
2012-12-05 19:34:20 +00:00
Doug Blank
84ee7c8ff8 Changes for Django 1.4; should now be updated from gramps35
svn: r20766
2012-12-05 02:34:05 +00:00
Nick Hall
987701c5fc Fix bug in undo history dialog
svn: r20755
2012-12-03 00:49:51 +00:00
Nick Hall
222f7bc1c8 Fix error when returning path of top level node
svn: r20753
2012-12-02 23:32:36 +00:00
Nick Hall
3dd5c5976d Bug fix
svn: r20752
2012-12-02 21:24:37 +00:00
Nick Hall
b0d607dcd5 python3 fix
svn: r20751
2012-12-02 21:21:39 +00:00
Doug Blank
af1d8b1ed1 Add missing Gramps license information (thanks Paul Franklin)
svn: r20743
2012-12-02 14:05:54 +00:00
Doug Blank
98a26cd53a Changes to: 1) bring trunk up to where gramps35 webapp was, 2) to bring old code up to python3 and pygobject use, and 3) use Django 1.4; (not all of webapp is back to working state yet)
svn: r20736
2012-12-01 22:25:36 +00:00
Doug Blank
03bafbd9e6 Changes to: 1) bring trunk up to where gramps35 webapp was, 2) to bring old code up to python3 and pygobject use, and 3) use Django 1.4; (not all of webapp is back to working state yet)
svn: r20735
2012-12-01 22:13:30 +00:00
Jérôme Rapinat
1dd0ebca64 update to new root dir ('src' to 'gramps')
svn: r20722
2012-12-01 11:52:17 +00:00
Jérôme Rapinat
eca67c5c3e update broken url (url for SVN)
svn: r20721
2012-12-01 11:46:54 +00:00
Jérôme Rapinat
84618d0633 update broken url (url for SVN)
svn: r20720
2012-12-01 11:44:11 +00:00
Doug Blank
f491fcd3f8 Added missing fan.childring initialization (set to false as children are shown in rings)
svn: r20714
2012-12-01 07:32:59 +00:00
Paul Franklin
dbe7fbc248 revert accidental 20685 regressions (and therefore 20699 corrections)
svn: r20710
2012-11-29 21:37:25 +00:00
Paul Franklin
1c22612f5d for Python files in the "gramps" (only) sub-tree:
1) add SVN svn:keywords "Id" property if it didn't have it
2) add SVN svn:mime-type "text/plain" property if it didn't have it
3) add SVN "Id" line to the file if it had none
4) reformat SVN "Id" line in the file if it needed it


svn: r20708
2012-11-27 04:31:14 +00:00
Peter Landgren
6a2ca043a4 Fix of minor error i number of unique surnames.
svn: r20700
2012-11-23 18:15:31 +00:00
Benny Malengier
a1591a964c python 3 support, avoid use of unicode
svn: r20699
2012-11-23 17:22:00 +00:00
Benny Malengier
db6a462bc2 fix writing plugin menu error
svn: r20698
2012-11-23 12:08:27 +00:00
Benny Malengier
755d88fa0e Remove testing label
svn: r20697
2012-11-23 07:43:25 +00:00
Brian Matherly
5b7312f80d Fix ODT output for Python < 3
svn: r20696
2012-11-23 05:06:01 +00:00
Brian Matherly
3c3e5e8248 Tweak docgen registration to specify options class name. Fix CLI reports.
svn: r20695
2012-11-23 04:12:50 +00:00
Jérôme Rapinat
bd28665977 try to update warning log according to new translation builder
svn: r20694
2012-11-22 17:45:36 +00:00
Jérôme Rapinat
14dbae104f make relative import more consistent (python3, convension)
svn: r20692
2012-11-21 19:58:30 +00:00
Jérôme Rapinat
7deae0a996 TypeError: GObject.__init__() takes exactly 0 arguments (1 given); see mailing list (Benny)
svn: r20691
2012-11-21 19:49:22 +00:00
Jérôme Rapinat
a34af94a40 make it work with python 3 (thank you Benny)
svn: r20690
2012-11-21 16:03:08 +00:00
Jérôme Rapinat
2825502b18 ImportError: No module named constfunc
svn: r20689
2012-11-21 14:31:27 +00:00
Jérôme Rapinat
0710324b05 TypeError: scroll_to_mark() takes exactly 6 arguments (3 given)
svn: r20688
2012-11-21 14:18:37 +00:00
Peter Landgren
ee2f5a990d Fix for correct unique surname statistics.
svn: r20686
2012-11-21 12:32:46 +00:00
Brian Matherly
ace8790379 0003910: line width in "plain text" reports is constant (patch from Paul Franklin)
svn: r20685
2012-11-21 05:06:46 +00:00
Tim G L Lyons
200cb60db3 Align gramps34 and trunk (where there is no functional difference) - minor layout changes etc.
svn: r20681
2012-11-18 20:33:09 +00:00
Paul Franklin
3e85d2f7c9 6177: Wrong line created by the LaTeX module
svn: r20677
2012-11-18 03:32:09 +00:00
Paul Franklin
28d939cda7 6155: Error when running Detailed Descendant Report
svn: r20674
2012-11-17 21:28:14 +00:00