Commit Graph

387 Commits

Author SHA1 Message Date
Tim G L Lyons
79ca4f32d3 0005553: GEDCOM import does not import references to repositories. rid_map was not being used. Also removed redundant code in __find_or_create_repository()
svn: r18826
2012-02-05 17:51:09 +00:00
Tim G L Lyons
371f6ca414 GEDCOM import. Minor fix for reporting of top level errors.
svn: r18825
2012-02-05 15:55:17 +00:00
Tim G L Lyons
b6df7d2a49 GEDCOM import. Fix handling of notes. Notes could get duplicate Gramps IDs. If a note was going to be assigned the next Gramps ID, then there was no check whether the Gramps ID had already been allocated to a note that had been encountered as a linked note, but not yet committed. Also handle change date and time for notes. Also media objects attached to a source citation were parsed with the wrong level, so they swallowed the following tags (this had been a problem with the previous source references processing).
svn: r18824
2012-02-05 15:38:32 +00:00
Tim G L Lyons
fc74ba6f6e GEPS 023: Citations: GEDCOM import was not working if Preferences->General->'Add default source on import' was set.
svn: r18818
2012-02-03 11:15:42 +00:00
Tim G L Lyons
142c6c69cf Added a report for GEDCOM import showing lines that were not imported, and build notes containing the unimported data. The notes are attached, where possible, to appropriate objects.
This resolves the following two issues:
0001371: source record ignores useful DATA block
0001571: Option on import to preserve Non-standard data from GEDCOM files (currently discarded without notice)

svn: r18815
2012-02-02 23:02:18 +00:00
Tim G L Lyons
b79e930770 Added comments for the level 0 parsing to clarify signposts in the code.
svn: r18808
2012-02-01 22:14:47 +00:00
Tim G L Lyons
3b42cdf51f 0005501: Gedcom with embedded and linked notes creates duplicate IDs. The translate parameter is removed from IdMapper, so that IDs are always translated. This still means that import attempts to preserve the IDs in the GEDCOM file (unless there are collisions).
svn: r18803
2012-01-31 18:25:17 +00:00
Tim G L Lyons
26733443fb 0002918: Add Gedcom EVENT_TYPE_CITED_FROM and ROLE_IN_EVENT in relation with Source Citation Fields. These are added as data elements with keys EVEN and EVEN:ROLE respectively.
svn: r18780
2012-01-27 20:59:35 +00:00
Tim G L Lyons
abddb6bcf6 0005528: ODF output fails validation. Added generation of settings.xml, and fixed illegal characters in style-name
svn: r18765
2012-01-24 16:00:11 +00:00
Paul Franklin
e5a490d5da 5317: Multi-line photo captions are not rendered correctly in output reports
patch from Adam Stein <adam@csh.rit.edu>


svn: r18760
2012-01-22 04:03:29 +00:00
Gerald Britton
6831989736 Change HTML5 support so that pages pass the w3c validator tests
svn: r18743
2012-01-14 20:27:24 +00:00
Paul Franklin
4cdc101c26 typos (and one file's SVN properties)
svn: r18651
2011-12-24 19:08:19 +00:00
Rob G. Healey
051da7cb87 Moved javascript map code from src/plugins/lib/libhtmlconst.py to NarrativeWeb. Fixed the single marker PlacePage.
svn: r18645
2011-12-21 00:44:16 +00:00
Gerald Britton
11a7aa2e8e Update libhtml.py to handle html5 and make html5 the default -- extra stuff
svn: r18642
2011-12-20 16:38:05 +00:00
Gerald Britton
78e3584aec Update libhtml.py to handle html5 and make html5 the default
svn: r18641
2011-12-20 15:55:31 +00:00
Paul Franklin
4b5c061554 typos
svn: r18639
2011-12-19 22:43:21 +00:00
Rob G. Healey
16282bce65 Minor change to OSM maps in PlacePage and FamilyMap.
svn: r18568
2011-12-10 20:29:10 +00:00
Paul Franklin
c83653f017 for Python files and Makefile.am files in the "src" (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


svn: r18554
2011-12-06 16:56:50 +00:00
Tim G L Lyons
c833073ba6 GEPS023: merge branch (changes 17960-18546) into trunk
svn: r18548
2011-12-04 17:09:17 +00:00
Paul Franklin
0129017798 remove 15169 trailing whitespace
svn: r18547
2011-12-04 04:28:52 +00:00
Tim G L Lyons
f37ab70446 Merged trunk r18499 through r18539 into geps023.
Conflicts resolved in:
    gramps.pot


svn: r18540
2011-12-02 00:10:04 +00:00
Paul Franklin
fb48820056 5386: libhtmlbackend.py crashes if a dir-name file preexists
svn: r18531
2011-11-29 03:33:32 +00:00
Rob G. Healey
606bd5d59d Added markers for birth, death, and census marks in Family Maps. Changed division id for place page maps to distinguish the different maps. Other changes which affect new markers.
svn: r18522
2011-11-28 04:42:44 +00:00
Paul Franklin
0c6834c365 add .pdf to filename, if needed
svn: r18521
2011-11-28 04:21:35 +00:00
Tim G L Lyons
26cb74474b Removal of redundant SourceRef and related modules. Minor consequent changes.
svn: r18516
2011-11-27 17:49:25 +00:00
Tim G L Lyons
6cb761b010 Merged trunk r18398 through r18497 into geps023.
Conflicts resolved in:
    NarrativeWeb.py


svn: r18498
2011-11-24 18:15:53 +00:00
Michiel Nauta
bc33f7146a 5335: Failure loading Geni.com GedCom into Gramps 3.3.1
svn: r18493
2011-11-23 18:29:35 +00:00
Rob G. Healey
0b66814874 Made USA holidays more consistent to all of the holidays-- Holiday Name value type offset.
svn: r18430
2011-11-10 08:43:17 +00:00
Jérôme Rapinat
9e991bdb12 5361: Add Japanese holidays (contribution by MathieuMD)
svn: r18427
2011-11-10 05:20:21 +00:00
Tim G L Lyons
6ee1af893f [ImportGedcom] libgedcom upgraded for citations
svn: r18415
2011-11-08 17:13:59 +00:00
Tim G L Lyons
3adb1b7ffa Merged trunk r17888 through r18397 into geps023.
Conflicts resolved in:
    /data/grampsxml.dtd
    /data/grampsxml.rng
    /src/Filters/Rules/Repository/_MatchesNameSubstringOf.py
    /src/plugins/import/ImportXml.py
(Various property conflicts also resolved)

svn: r18405
2011-11-05 19:07:58 +00:00
Serge Noiraud
655c3f7206 odfbackend : #0005278 : no need to escape color, highlight color.
svn: r18402
2011-11-05 09:38:19 +00:00
Serge Noiraud
6264b9c146 Geography : #0005337 : change the tiles cache directory doesn't work.
svn: r18399
2011-11-02 17:15:20 +00:00
Brian Matherly
366daad079 Fix crash in ODF styled text output.
svn: r18387
2011-10-31 02:33:06 +00:00
Jérôme Rapinat
d2f31ae81b 5337: Maps View crash when tiles' storage path is not existent, call ErrorDialog
svn: r18377
2011-10-28 07:43:11 +00:00
Paul Franklin
ba60ec4c07 missing or malformed SVN "Id" line
svn: r18361
2011-10-23 03:13:50 +00:00
Paul Franklin
331c135235 5128: Python files with no SVN "Id" property (& added MIME text/plain if none)
svn: r18338
2011-10-16 20:21:22 +00:00
Doug Blank
9cd2754e19 Keep gtk out of includes, if possible
svn: r18302
2011-10-12 20:18:48 +00:00
Jérôme Rapinat
0cd782cd5f 5293: at least/at most for ages at death (DAR/DDR)
svn: r18290
2011-10-12 07:15:39 +00:00
Peter Landgren
95c5872126 Fix of issue 5282, white spaces should be kept.
svn: r18252
2011-10-06 16:48:36 +00:00
Paul Franklin
2f4a370ea7 typo in 3165 patch -- caught by lcc
svn: r18250
2011-10-04 18:00:13 +00:00
Paul Franklin
fc68033c3a 3165: Fix printing of marriage strings in Det{Asc/Desc}Reports -- original patch from Vlada Perić (vlada.peric@gmail.com), then split in two by Matt Keenan (matt.keenan@gmail.com) -- both were applied
svn: r18248
2011-10-03 22:51:19 +00:00
Zdeněk Hataš
88cbf1b68a czech translation update
missing holiday added to holidays list

svn: r18214
2011-09-28 18:14:16 +00:00
Tim G L Lyons
a906c98439 Clean-up Sources and Citations views:
* Add icon for citations view
* disable old sourceview
* change citationtreeview to be Sources navigation view
* citationlistview is now the Citations view
* merge libcitationview into citationlistview and citationtreeview, and corrected and rationalised
* remove libcitationview
* corrected initialisation of source_handle in Citation.py
* fixes for preventing same source being edited twice
    - fixed blockedtext in citationembededlist
    - override build_window_key in editcitation.py

svn: r18211
2011-09-26 19:53:18 +00:00
Tim G L Lyons
5719832f36 Citation filters
svn: r18182
2011-09-20 22:05:41 +00:00
Tim G L Lyons
21e402fc6f * Updated signal handlers to deal with citation tree model and secondary nodes
* Fix for citation selector.

svn: r18171
2011-09-18 19:49:18 +00:00
Brian Matherly
c4d4762c30 Patch from Matt Keenan <matt.keenan@gmail.com> - 0005149: Provide Name Format option for some text reports
svn: r18118
2011-09-07 02:49:08 +00:00
Tim G L Lyons
c474e5e638 * change CitationtreeModel so that building the view starts from sources so that it displays sources that have no citations
consequent restructuring:
* introduce separate CitationBaseModel module which encapsulates access to both citation and source fields for the views
* introduce separate CitationListModel and CitationTreeModel modules

* move configuration data from libcitationview to citationtreeview and citationlistview, because the two different views have different data


svn: r18110
2011-09-03 22:19:15 +00:00
Brian Matherly
eb85361c7e Patch by Adam Stein <adam@csh.rit.edu > - Continued work on "0002513: Using section/region on media_ref as thumbnail on reports" - add image cropping to Cairo documents
svn: r18097
2011-09-02 01:32:03 +00:00
Tim G L Lyons
29cc4ee6e9 * various updates to CitationView, CitationEmbedView and CitationEditor to take account of Rev 17973 for two different object types in selectors
* updates to citationviews to support all the functionality (add source etc.) provided by sourceview (including different tooltips for tree view and list view)
* moved registration of citationtreeview into view.grp.py
* removed citationtreeview.grp.py module
* fixed update to citation when note is deleted
* fixed update to citation when media object is deleted
* re-enabled edit button in sourcebackreflist
* improved date display in mergecitation
* changed default note type for citation notes
* changed backref in citation editor to CitationBackRefList
* fixed removal of citation handles from the list in primary objects when a citation is deleted
* fixes for pylint

svn: r18095
2011-09-01 18:13:42 +00:00
Nick Hall
afef197a57 Update Gramps XML Import/Export to support Citations
svn: r18086
2011-08-30 12:34:46 +00:00
Tim G L Lyons
5a3cef062c * Implemented merge Citation
* Updated merge Sources
* Implemented undo-redo for citations (revision 18069 had only added citations to the undo-redo list, not acted on that types of element)
* Fixed embedded lists for some of the object type editors that were done in Rev 18069
* Modified EditCitation so the source parameter is optional
* Added svn properties for all /src/Merge/merge*.py modules
* Added support for EditCitation from backreflist.py

svn: r18085
2011-08-30 10:40:30 +00:00
Tim G L Lyons
d3dcbb1c12 Implemented database upgrade for all eligible remaining object types.
Added Citations to undo-redo feature.
Moved Citation view within navigation pane to below Sources.
Removed useless edit button from sourcebackreflist.
Fixed default bottombar gramplets for citations. 

svn: r18069
2011-08-26 23:18:11 +00:00
Tim G L Lyons
165625715d Various enhancements:
* Modified Event object to include references to Citations
* Implemented database upgrade for Events (upgrade for Media had already been done)
* Enhanced database upgrade to do backlinks
* Modified Media object to remove sourceref
* Implemented citations bottombar gramplet
* Some minor fixes and improvements

svn: r18054
2011-08-23 16:54:03 +00:00
Serge Noiraud
49dd772d3c Geography : first try to solve bug 5053.
svn: r18026
2011-08-11 07:55:39 +00:00
Jérôme Rapinat
fd47b5f5f5 Enable Japanese support
svn: r18009
2011-08-08 07:10:34 +00:00
Rob G. Healey
e6a22dd95c Finally have all pieces working once again...
svn: r17987
2011-08-02 09:10:49 +00:00
Tim G L Lyons
f9df3503b2 Added svn properties and improved some code layout (mainly long lines).
svn: r17977
2011-07-29 10:31:41 +00:00
Rob G. Healey
9d8ee10359 More work being done on FamilyMap with OpenStreetMap.
svn: r17974
2011-07-28 14:16:34 +00:00
Brian Matherly
9bc3d725cb Patch by Adam Stein <adam@csh.rit.edu > - Continued work on "0002513: Using section/region on media_ref as thumbnail on reports"
svn: r17971
2011-07-27 03:26:12 +00:00
Jérôme Rapinat
030d675b72 typo
svn: r17969
2011-07-26 09:24:51 +00:00
Jérôme Rapinat
c278b158e8 make OpenStreetMap and Marker layers working together
svn: r17968
2011-07-26 08:44:22 +00:00
Rob G. Healey
888e464700 Added extra features to OpenStreetMap in Place Maps.
svn: r17966
2011-07-26 05:12:15 +00:00
Nick Hall
871508b7f3 Correct column heading
svn: r17963
2011-07-24 23:47:17 +00:00
Nick Hall
7b743e61af Improve layout of citation tree view
svn: r17962
2011-07-24 23:42:05 +00:00
Tim G L Lyons
9ff46d9eab Initial prototype.
* Changed database to introduce Citations
* Introduced new Citation Primary object and CitationBase (equivalent to CitationRef) child object
* Implemented CitationTreeModel and CitationListModel
* Implemented CitationTreeView and CitationListView for new citation views in the navigator
* Implemented EditCitation which is used both for the citation views in the navigator and for the citations of an object
* Implemented the CitationEmbedList to display the citations of an object
* Modified the bottom bar gramplets to support citations
* Implemented the citation selector.
* Modified Media object to include references to Citations
* Initial work on deleting citations


svn: r17960
2011-07-24 18:30:28 +00:00
Jérôme Rapinat
390410f2ca try to add support for OpenStreetMap; overview controler
svn: r17958
2011-07-24 14:57:43 +00:00
Jérôme Rapinat
2f743336e8 try to add support for OpenStreetMap; switcher support
svn: r17957
2011-07-24 14:51:48 +00:00
Jérôme Rapinat
d20c2b49fc try to add support for OpenStreetMap; better naming
svn: r17956
2011-07-24 14:45:04 +00:00
Jérôme Rapinat
abe77ef759 try to add support for OpenStreetMap; cleanup
svn: r17955
2011-07-24 14:42:23 +00:00
Jérôme Rapinat
de95dd72e0 try to add support for OpenStreetMap; same init() name as Google (body onload)
svn: r17954
2011-07-24 13:38:12 +00:00
Jérôme Rapinat
569c9f790d try to add support for OpenStreetMap's marker and layer
svn: r17953
2011-07-24 13:25:47 +00:00
Jérôme Rapinat
17a863b4cc try to add OpenLayers.js support for OpenStreetMap
svn: r17952
2011-07-24 12:54:58 +00:00
Rob G. Healey
efc97de594 Fixed missing longitude/ latitude variables for openstreetmap. Thank Jerome Rapinet.
svn: r17949
2011-07-24 09:06:51 +00:00
Jérôme Rapinat
3c15b42e98 minor improvements after rev17946
svn: r17948
2011-07-23 10:31:38 +00:00
Rob G. Healey
2b222cb92a Added OpenStreetMap and GoogleMap javascript code into the library for easier processing and usability. Updated NarrativeWeb as needed.
svn: r17946
2011-07-23 06:06:27 +00:00
Nick Hall
9a1b8ec128 Remove set_has_data calls
svn: r17931
2011-07-15 14:57:35 +00:00
Nick Hall
7f02492f0f Move metadata treeview into a new library file
svn: r17912
2011-07-10 18:32:12 +00:00
Michiel Nauta
2a10453af0 5046: GEDCOM import fails on aka name
svn: r17838
2011-06-27 15:20:56 +00:00
Peter Landgren
4750ab4816 Endnotes improvment, see issue 4997 & 4998.
svn: r17809
2011-06-19 11:47:22 +00:00
Michiel Nauta
7ff20332ac 4856: Gedcom import of empty note leads to invalid database
svn: r17766
2011-06-13 08:25:31 +00:00
Serge Noiraud
2d24d68753 Geography : The first click on button 1 ( left ) gives a zoom after changing map view.
svn: r17704
2011-06-07 06:09:43 +00:00
Serge Noiraud
186057add6 Geography : cursor driven region and autozoom ( #0004882 )
svn: r17674
2011-06-03 10:08:41 +00:00
Serge Noiraud
fbac509241 GeoView : close the Place Selection window before editing place
svn: r17634
2011-05-31 14:08:04 +00:00
Benny Malengier
040edcc27e 4398: [GEDCOM] Import Father AND Mother ages on a family event, does not check gender.
svn: r17631
2011-05-30 21:03:31 +00:00
Serge Noiraud
f6e32ce429 Geography : bug when liking to a place.
svn: r17622
2011-05-29 21:45:38 +00:00
Serge Noiraud
8b3145e03a Geography : copy and paste error.
svn: r17617
2011-05-29 15:18:54 +00:00
Serge Noiraud
10379456c6 Geography : bug when linking a lat,lon to a place.
svn: r17614
2011-05-29 14:07:58 +00:00
Serge Noiraud
a5d04fe010 Geography : bug when link to place if you don't choose a place.
svn: r17602
2011-05-28 07:35:49 +00:00
Serge Noiraud
33ebad33ab Geography : suppress a print message.
svn: r17601
2011-05-28 06:21:05 +00:00
Serge Noiraud
bd89ee1889 Geography : add go to place in the right click menu for the places map view.
svn: r17598
2011-05-27 22:05:10 +00:00
Serge Noiraud
a9bd22a288 Geography : show the place name in the status bar when the mouse is over a marker.
svn: r17597
2011-05-27 21:55:41 +00:00
Serge Noiraud
13f1654b3f Geography : add motion events to show places in the status bar.
svn: r17590
2011-05-27 15:58:19 +00:00
Serge Noiraud
75620e7713 Geography : feature request : #0004867 + some cleaning ( trailing spaces )
svn: r17557
2011-05-25 19:26:25 +00:00
Serge Noiraud
8fff393b8b geography : use the same map directory for all views. adding possibility to change the zoom when we center the map.
svn: r17502
2011-05-15 08:46:57 +00:00
Serge Noiraud
3be9f100ab geography : remove debug_layer from grampsmaps (error)
svn: r17487
2011-05-13 06:22:09 +00:00
Serge Noiraud
6231c62432 geography : add a marker when we add or link a place.
svn: r17486
2011-05-13 06:14:28 +00:00
Nick Hall
ba8d8b582c 4896: Remove the word "Gramplet" from gramplet names
svn: r17447
2011-05-07 18:42:31 +00:00
Jérôme Rapinat
806519b4eb folder moved to plugins/lib/maps
svn: r17426
2011-05-06 10:48:40 +00:00
Serge Noiraud
a2d99db5a6 geography : add roles to geoperson. some cleaning.
svn: r17418
2011-05-05 13:26:51 +00:00