Commit Graph

18659 Commits

Author SHA1 Message Date
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
66e4d8e1f8 * fix comparison for confidence level in citation filter
svn: r18209
2011-09-26 18:22:32 +00:00
Tim G L Lyons
ecee884729 Fix confidence entry in citation filter
svn: r18197
2011-09-23 19:46:23 +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
bad963e150 Modifications to upgrade code as suggested by Michiel Nauta; many thanks for his advice.
svn: r18096
2011-09-01 22:07:04 +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
b438b7c248 Merge schema files from trunk
svn: r18087
2011-08-30 18:30:12 +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
Nick Hall
e26c5325e0 New citation editor
svn: r17983
2011-08-01 22:49:19 +00:00
Nick Hall
570f5e53a3 Remove code that was adding duplicate nodes to the model
svn: r17979
2011-07-29 18:47:20 +00:00
Tim G L Lyons
61944d7a49 Fixed missing column_header and 'self' in citationmodel
svn: r17978
2011-07-29 10:51:26 +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
763bea26ec Allow selection of two different object types in selectors
svn: r17973
2011-07-27 18:53:17 +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
Nick Hall
6df8226f11 Add width and height configuration settings
svn: r17961
2011-07-24 23:38:49 +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
Tim G L Lyons
1012286be7 create a branch for GEPS 023 work
svn: r17888
2011-07-01 18:47:25 +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
Peter Landgren
838d7845e1 Swedish update, not complete yet.
svn: r17882
2011-07-01 08:29:15 +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
Nick Hall
f34d60ad9d 5055: Issue warning when attempting to edit media reference when media object is already being edited
svn: r17873
2011-06-30 20:41:15 +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
cce64668f3 Removed ImageMagick and Jhead from dependencies
svn: r17864
2011-06-29 05:04:56 +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
John Ralls
ee5d62701e Bug #5044: Unable to enter valid dates when the (full) month contains accented letters.
This turns out to be a codeset-setting issue, where unicode() returns different (perfectly valid) encodings of the words depending upon which codeset it's given.

There's also a problem with using locale.getpreferredencoding() on OSX: It returns "mac roman", pretty much regardless of the environment locale settings. This isn't correct for recent versions of OSX under any circumstances, so this change also disables calling it on macs.

svn: r17859
2011-06-28 23:05:53 +00:00
John Ralls
d8560551fa OSX: Add gramps-33 addons module
svn: r17858
2011-06-28 18:55:15 +00:00
John Ralls
5b89fd76f6 OSX: Gramps.bundle cleanup; fix accelerator file name
svn: r17857
2011-06-28 18:54:58 +00:00
John Ralls
03428749b3 OSX: Launcher script cleanup; makes changing python version easier
svn: r17856
2011-06-28 18:54:52 +00:00
John Ralls
7aef6906b4 OSX: Modify launcher script to reflect moving of the localizations inside gramps (r17707/08)
svn: r17855
2011-06-28 18:54:46 +00:00
John Ralls
7e7cf7d553 OSX: Update dependencies to match Gramps-3.3.0 release notes.
svn: r17854
2011-06-28 18:54:40 +00:00
John Ralls
c7511d17cd OSX: Change pyosmgpsmap package from autotools to distutils; distutils works better.
svn: r17853
2011-06-28 18:54:30 +00:00
John Ralls
a4508a4914 OSX: Remove berkeleydb module; moved to gtk-osx modulesets.
svn: r17852
2011-06-28 18:54:23 +00:00
John Ralls
51dc9f736d OSX: Update modules for new URL scheme at Github
svn: r17851
2011-06-28 18:54:16 +00:00
John Ralls
df7139fb13 OSX: Remove the python runfile. Didn't work out.
svn: r17850
2011-06-28 18:54:08 +00:00