687 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
Paul Franklin
6a651d80e7 malformed SVN "Id" line
svn: r18392
2011-10-31 15:33:09 +00:00
Paul Franklin
bb0b9de18b malformed SVN "Id" line
svn: r18391
2011-10-31 15:27:48 +00:00
Brian Matherly
93ec059b3d Remove ErrorDialog and WarningDialog from reports. Replace with User.warn() and User.notify_error().
svn: r18388
2011-10-31 02:40:19 +00:00
Brian Matherly
8d8b66f722 Disable the automated "activity" bar that is shown whenever a report is run.
The dialog interferes with any report that may open its own dialog (like a progress bar) and causes GTK crashes. Every report will just have to run its own progress bar.

svn: r18384
2011-10-30 05:15:32 +00:00
Brian Matherly
0b8ea1202d Implement new "User()" class for reports to indicate progress and prompt the user. This allows the removal of from "gui.utils import ProgressMeter" from reports so that they don't depend on gui.
svn: r18378
2011-10-29 05:02:33 +00:00
Nick Hall
020dae3d72 Set maximum for default GrampsBar size
svn: r18375
2011-10-27 09:07:53 +00:00
Nick Hall
e1ae74e952 Replace netbook mode with sizing proportional to screen size
svn: r18374
2011-10-26 18:28:32 +00:00
Nick Hall
594bc9257f 5321: Tidy up code for the children tab in the family editor
svn: r18372
2011-10-25 21:31:32 +00:00
Jérôme Rapinat
effbde51a8 5310 5314: missing tags and date fields
svn: r18367
2011-10-24 10:26:09 +00:00
Paul Franklin
22b0f8476c 5031: Some reports should not register the page orientation to non-default (Landscape)
svn: r18366
2011-10-23 20:38:22 +00:00
Paul Franklin
ca94331a70 5323: Cannot run sort events in gramps 3.4 SVN
svn: r18365
2011-10-23 17:01:53 +00:00
Paul Franklin
ba60ec4c07 missing or malformed SVN "Id" line
svn: r18361
2011-10-23 03:13:50 +00:00
Doug Blank
fd04480052 5266: Christening dates displayed as Birth dates in Family editor
svn: r18349
2011-10-18 21:10:35 +00:00
Paul Franklin
1a4f9cdca7 added GPLv2 and SVN Id line
svn: r18345
2011-10-18 18:14:07 +00:00
Jérôme Rapinat
dcf5fe856f 3145: improve image subsection, bug with filtered objects (patch by Robert Cheramy)
svn: r18341
2011-10-17 14:20:53 +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
4ce6dc3788 Should not call _LOG.error (reported by P. Franklin)
svn: r18291
2011-10-12 11:24:21 +00:00
Paul Franklin
98d1fff55c typo
svn: r18280
2011-10-10 16:33:04 +00:00
Peter Landgren
9ec1291fd3 Issue 5275, missed the case when lat or long was missing.
svn: r18263
2011-10-08 16:23:48 +00:00
Peter Landgren
06bd6096a4 Issue 5275, problem when lat/long has wrong format in place view.
svn: r18262
2011-10-08 14:23:00 +00:00
John Ralls
59e8941495 Fix typo in src/gui/editors/displaytabs/Makefile.am
svn: r18240
2011-10-02 21:26:06 +00:00
Jérôme Rapinat
9ec57d9bec 3145: Improve image subsection selection; patch for gtk < 2.22 (by Robert Cheramy)
svn: r18239
2011-10-02 08:06:40 +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
Jérôme Rapinat
af1f95dbd7 3145: Improve image subsection selection (contribution by Robert Cheramy)
svn: r18212
2011-09-27 06:28:27 +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
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
Nick Hall
6004f5ee22 5112: Fix error when moving empty surname row
svn: r18102
2011-09-02 20:10:13 +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
Michiel Nauta
319db30436 5151: Latin American surname guessing fails
svn: r18083
2011-08-29 19:06:20 +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
Brian Matherly
b0b919d148 Patch from Paul Franklin - Partial work for: 0004646: reports cannot be run from the command line in a non-GUI environment
svn: r18047
2011-08-19 01:57:43 +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
59c793608c Introduce experimental netbook mode for small screen sizes
svn: r17965
2011-07-25 22:47:57 +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
Doug Blank
768fe26346 Refactored statusbar width
svn: r17898
2011-07-07 02:37:52 +00:00
Nick Hall
58eb8627e9 4809: Add an option to restore a GrampsBar to its default gramplets
svn: r17897
2011-07-06 22:31:03 +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
Jérôme Rapinat
dfd17224ad 5032: Report selection logic
svn: r17835
2011-06-27 07:17:20 +00:00