Commit Graph

3758 Commits

Author SHA1 Message Date
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
Rob G. Healey
6d58e4db96 Disabled 'content-changed' signal which at least allows me to enter the date without it crashing.
svn: r17739
2011-06-10 04:25:08 +00:00
Rob G. Healey
f3df3d4ece Nick Hall created a patch which adds bet6ter date validation, and Latitude/ Longitude validation.
svn: r17738
2011-06-10 02:12:07 +00:00
Nick Hall
6c3013d764 Fix error when date and time are empty
svn: r17736
2011-06-09 22:35:44 +00:00
Nick Hall
cdcc030bf0 Tidy up date/time functionality
svn: r17735
2011-06-09 17:16:17 +00:00
Peter Landgren
9c7fd12d56 Fix so that date, if any, in source reference is printed.
svn: r17733
2011-06-09 14:25:46 +00:00
Rob G. Healey
b17dd8fe3e Code refinement provided by Gerald Britton.
svn: r17728
2011-06-09 06:32:22 +00:00
Rob G. Healey
1d1c177acd Tweak'd the _format_datetime() function.
svn: r17726
2011-06-09 03:41:30 +00:00
Rob G. Healey
a5632c38d5 Added patch to fix the 'Modified' and 'Original' date/ time fields. Thank you Nick Hall.
svn: r17725
2011-06-09 03:27:43 +00:00
Michiel Nauta
4e76a47c53 Preserve import handle when family tree is empty
svn: r17715
2011-06-08 15:22:23 +00:00
Rob G. Healey
679b3a86ee Fixed an error in 'converting Latitude/ Longitude' in save_metadata().
svn: r17714
2011-06-08 05:06:51 +00:00