320 Commits

Author SHA1 Message Date
Rob G. Healey
c2880e0c37 Nick Hall said that this file is no longer needed for the bottom bar gramplets.
svn: r18434
2011-11-12 04:09:57 +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
Nick Hall
e1ae74e952 Replace netbook mode with sizing proportional to screen size
svn: r18374
2011-10-26 18:28:32 +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
Jérôme Rapinat
300728ec48 update list to 3.4 number ...
svn: r18178
2011-09-20 14:22:07 +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
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
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
Rob G. Healey
a3fd13e185 Fixed issue with creating the Media object's Date object from image Exif metadata.
svn: r18044
2011-08-18 00:29:22 +00:00
Rob G. Healey
f90367ad86 Re- wrote the entire save_metadata() function. Still have a couple little irritating issues, but I will work them out too soon.
svn: r18040
2011-08-17 07:08:31 +00:00
Rob G. Healey
545d61353e Code cleanup: Fixed and cleanup of event_box and entry combo.
svn: r18032
2011-08-11 21:50:54 +00:00
Rob G. Healey
823d3b4034 If there is no image Exif metadata, the media object's date will be displayed on the Edit screen if there is one available.
svn: r18024
2011-08-11 07:02:30 +00:00
Rob G. Healey
86334caef3 Fixed issue in adding the media object's date field.
svn: r18023
2011-08-10 20:48:10 +00:00
Rob G. Healey
68a47bd01f Re- verted two function name back to their original as I keep forgetting what they are and I can't access them.
svn: r18015
2011-08-09 07:41:50 +00:00
Rob G. Healey
36aa9f3c86 Instead of re- inventing the wheel, used the existing wheel. Used conv_lat_lon() from PlaceUtils to handle GPS Coordinates.
svn: r18014
2011-08-08 23:59:06 +00:00
Rob G. Healey
f629aac17a Fixed a couple of small little things.
svn: r17997
2011-08-06 20:50:43 +00:00
Nick Hall
59c793608c Introduce experimental netbook mode for small screen sizes
svn: r17965
2011-07-25 22:47:57 +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
Rob G. Healey
a232e644a3 Fixed the proper timing for the Edit and Delete buttons to be sensitive.
svn: r17943
2011-07-21 09:09:05 +00:00
Rob G. Healey
146653eb3f Fixed an error in saving Altitude. Some cleanup of code
svn: r17940
2011-07-20 01:53:04 +00:00
Rob G. Healey
fd1ddece33 Great big cleanup.
svn: r17934
2011-07-16 00:04:46 +00:00
Rob G. Healey
473c809e39 Feature request#5026 -- fixed mistakes added in last commit.
svn: r17926
2011-07-14 08:06:36 +00:00
Rob G. Healey
feaa957620 Added functionality to allow user to changed the media object's title within my addon.
svn: r17918
2011-07-12 04:15:50 +00:00
Rob G. Healey
c9f0f2c8d7 Removed the convert GPS functionality as this is not a GPS Conversion script.
svn: r17916
2011-07-12 02:02:01 +00:00
Rob G. Healey
af2cf6c331 Fixed many errors in save, copy, clear. Added changes made by Nick Hall-- using libmetadata.
svn: r17915
2011-07-12 00:03:21 +00:00
Nick Hall
7f02492f0f Move metadata treeview into a new library file
svn: r17912
2011-07-10 18:32:12 +00:00
Rob G. Healey
3085c2ada2 Fixed an crashing error in Save and Copy functions.
svn: r17911
2011-07-09 20:36:00 +00:00
Rob G. Healey
9ff5fd9039 Moved tag_label to before func in TAGS_. Modified column lengths to attempt to better view the displaying area.
svn: r17910
2011-07-09 19:07:52 +00:00
Rob G. Healey
b09102b184 Modified valid PIL.Image file types to match file types in valid exiv2 types.
svn: r17909
2011-07-09 10:18:16 +00:00
Rob G. Healey
cd6418d90c Added a label for XmpTag and IptcTag tags in TAGS_, so now it is: for section, key, key2, func, label in TAGS_ in __display_exif_tags()
svn: r17908
2011-07-09 08:13:13 +00:00
Rob G. Healey
9c8e67ca9d Fixed some layout things.
svn: r17903
2011-07-07 19:32:32 +00:00
Rob G. Healey
2514f1dc77 Removed a duplicate function. Removed some set.size_requests as possible without destroying the layout of the Edit window.
svn: r17902
2011-07-07 19:19:30 +00:00
Rob G. Healey
3c89080193 Re- sized the width and height of the Edit window for Exif metadata. I hope that this will be a better layout.
svn: r17899
2011-07-07 05:45:07 +00:00
Rob G. Healey
58657454f5 Clean up of import section, added node category -- thanks Nick Hall. Cleanup of code.
svn: r17894
2011-07-05 21:20:44 +00:00
Nick Hall
e305834f5a Update Metadata Viewer gramplet to use a tree view
svn: r17892
2011-07-02 17:29:59 +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
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
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
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
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
Peter Landgren
a7cc6381ae Fix of issue 4992, same value in both lat and long.
svn: r17762
2011-06-12 18:42:45 +00:00