Commit Graph

3768 Commits

Author SHA1 Message Date
Tim G L Lyons
4169661302 Update uses of get_source_referents to handle citations:
* implement new Utils get_source_and_citation_referents
* Update sourceview.py and citationtreeview.py to use it
* Fix editsource.py, where deletion of a source object was not properly dealing with all possible citations
* Update mediaobj.py which still had a remnant of a source_list
* fix _HasTextMatchingSubstringOf filter to deal with text in both sources and citations

svn: r18394
2011-11-01 11:10:18 +00:00
Tim G L Lyons
2c89d2e0b2 Fix merge citations for repositories
svn: r18343
2011-10-18 16:38:18 +00:00
John Ralls
315d41790d Add mergecitations.glade to Makefile.am so that it gets installed
svn: r18244
2011-10-02 23:47:52 +00:00
John Ralls
36f45b392a Add MergeCitations.py to Makefile.am so that it gets installed
svn: r18243
2011-10-02 23:15:34 +00:00
Tim G L Lyons
8c36ed6a8e Add MergeCitations tool.
Add note to upgrade information dialogue box to suggest running the tool.
Fixes to Person and Family for get citation child list for merging citations.


svn: r18228
2011-09-30 21:34:21 +00:00
Tim G L Lyons
afefdb09a7 Fixes for database update signal handling for treemodel as used for the citation tree
- corrected handing of setting of the handle of a node to 'None' for a non-leaf (heading) node
  - only insert the citation leaf node if it is not already present.

svn: r18220
2011-09-29 18:00:58 +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
a4f9e6834d change 'PopulateGramplet' to update the displays on exit
svn: r18210
2011-09-26 19:48:34 +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
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
Tim G L Lyons
bb854ec772 Modifications as suggested by Nick Hall:
* Remove inheritance of Citation from RefBase, using source_handle filed instead (similar to  the way Family objects store mother and father handles) (also use the set_ and get_reference_handle functions more consistently)
* Use get_citation_list instead of get_citation_references (more consistent with the way notes are handled)

svn: r18100
2011-09-02 10:40:53 +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
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
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
Michiel Nauta
5bbe4fc56e 5059: Reordering Gramps IDs fails
svn: r17886
2011-07-01 11:44:26 +00:00
Michiel Nauta
cb3d1f8ce5 5054: ID format conversion creates duplicates
svn: r17884
2011-07-01 11:22:37 +00:00
Rob G. Healey
abf4584921 Cleanup of some def variables.
svn: r17879
2011-07-01 06:13:58 +00:00
Rob G. Healey
0f735d1941 Fixed problems in converting files. Fixed problem when a user would convert an image and then double same image after it was converted. Adjusted sizes of the event boxes of Thumbnail, ImageType, and Convert Buttons.
svn: r17878
2011-07-01 05:25:11 +00:00
Nick Hall
29e5f4a326 Enhance sources gramplets to show sources of child objects
svn: r17875
2011-06-30 21:30:40 +00:00
Rob G. Healey
ce508eb8a3 Removed a lot of debugging code from when I first got involved with Gramps. back in those immature days of learning my first python code.
svn: r17871
2011-06-30 15:39:41 +00:00
Brian Matherly
d25248ccb8 0004705: Book Report does not work from CLI (Patch from Paul Franklin).
svn: r17870
2011-06-30 02:47:48 +00:00
Rob G. Healey
ab8c2d8693 Fixed an error in convert_file().
svn: r17869
2011-06-30 02:16:47 +00:00
Rob G. Healey
191790e1bd Fixed list of compatible PIL.Image convertible image types.
svn: r17868
2011-06-30 00:30:53 +00:00
Rob G. Healey
2ae741bcc4 Fixed problem with not being able to hide my combo box. Use combo_box.set_sensitive() instead of combo_box.hide().
svn: r17865
2011-06-29 08:31:37 +00:00
Rob G. Healey
8fe8b7e82f Fixed GPS Coordinates. Fixed Converting image files. Fixed media object.set_path(). Fixed media object_set_date_object(). Some cleanup.
svn: r17863
2011-06-29 05:03:03 +00:00
Michiel Nauta
2a10453af0 5046: GEDCOM import fails on aka name
svn: r17838
2011-06-27 15:20:56 +00:00
Jérôme Rapinat
5341b4d132 5023: Textual reports are crashing with HTML format without stylesheet set
svn: r17837
2011-06-27 07:37:32 +00:00
Brian Matherly
a7cf957319 0004977: feature request: sorted "Available Items" in Book Report (Patch from Paul Franklin)
svn: r17826
2011-06-22 12:14:52 +00:00
Rob G. Healey
37431956f1 Fixed error in strip_metadata() that crashed when clearing the viewing area.
svn: r17825
2011-06-22 06:22:41 +00:00
Rob G. Healey
9403a64c12 Removed the use of the del/ rm command to delete a file. Thank you, Brian Matterly.
svn: r17824
2011-06-21 00:29:52 +00:00
Michiel Nauta
951e38ca71 5022: Layout in website 3.0
svn: r17822
2011-06-20 21:38:52 +00:00
Michiel Nauta
2238392330 4808: Latitude and Longitude in the web report
svn: r17820
2011-06-20 21:34:03 +00:00
Michiel Nauta
902fa56b26 5027: After export to XML and Import into new DB all surnames become primary
svn: r17818
2011-06-20 15:25:28 +00:00
Rob G. Healey
e2e399799c Fixed errors discovered by Nick Hall. Remove dependencies on ImageMagick and Jhead. Convert is being done by PIL.Image, and delete is being done by local computer delete command. Thank you Nick and Benny
svn: r17817
2011-06-20 06:31:22 +00:00
Peter Landgren
4750ab4816 Endnotes improvment, see issue 4997 & 4998.
svn: r17809
2011-06-19 11:47:22 +00:00
Rob G. Healey
5460d4880f Added error trapping, adjusted size of Edit Window, fixed errors and some cleanup.
svn: r17804
2011-06-17 06:54:03 +00:00
Benny Malengier
ee14f249f3 5002: control n and p to move between categories not working
svn: r17791
2011-06-15 08:35:42 +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
Peter Landgren
a7cc6381ae Fix of issue 4992, same value in both lat and long.
svn: r17762
2011-06-12 18:42:45 +00:00
Nick Hall
a45d8fdd09 Display partial dates as invalid
svn: r17760
2011-06-12 13:10:18 +00:00
Nick Hall
916186039f Bug fix
svn: r17759
2011-06-12 13:04:16 +00:00
Michiel Nauta
f86751865c 4316: [NarWeb] Missing document.png
svn: r17742
2011-06-10 17:05:45 +00:00
Rob G. Healey
dda9c5eaf6 pylint score cleanup...
svn: r17740
2011-06-10 06:47:04 +00:00